https://bugs.winehq.org/show_bug.cgi?id=37849
anonymous_temp_mail@yahoo.co.jp changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|UPSTREAM |---
--- Comment #10 from anonymous_temp_mail@yahoo.co.jp ---
That part at least is expected, redshift updates the color temperature of the screen every 5 seconds or so, and any custom gamma setting by an application will get overidden at that point. Because of that, it's also not unexpected for an application that explicitly sets the screen gamma to briefly change the colors and then change back when redshift updates again. In the case of StarCraft 2 though, the application never does that and the issue (likely) happens because of wined3d trying to restore the incorrect gamma ramp it read earlier.
Makes sense, so the root cause is the driver, on the other hand, wine should not touch any gamma settings, so wine is still invovled.
For what it's worth, I think you should be able to prevent Wine from touching screen gamma at all by setting "UseXVidMode" = "N" (see also http://wiki.winehq.org/UsefulRegistryKeys), although I haven't tested this.
I tried this, and it works perfectly, no gamma change again.
So I reopened the case. Wait, I can only change the status to unconfirmed or closed?