http://bugs.winehq.org/show_bug.cgi?id=12194
--- Comment #8 from Alexander Dorofeyev alexd4@inbox.lv 2008-05-12 16:16:08 --- I can reproduce the flickering with gdi renderer when changing gamma settings but not elsewhere. However, that works nice and clean in opengl renderer, so, probably this is some problem in wine. Perfectly possible that the problem may be worse on some other setups.
The issue is certainly coming from the x11_copy_to_screen call - that's the essential part added in rewrite of the method and the problem goes away if it's removed. But the call itself seems to be right. Without it animating palette doesn't work in e.g. Red Alert 1. It's also essentially just a BitBlt to window DC. IIRC BitBlt wasn't supposed to produce flickering on native. This looks like a tough problem, maybe some quirks/bugs of winex11 driver's implementation of BitBlt.