[1/2] winex11: Cache XRandR 1.0 display mode. (try 2)

Sam Edwards cfsworks at gmail.com
Fri May 10 11:59:06 CDT 2013


On 05/10/2013 10:51 AM, Ruslan Kabatsayev wrote:
> Hi,
>
> Won't such code fail if the mode is changed outside wine?
>
> Regards,
> Ruslan

Unfortunately it will, but the only way to fix that is to listen for an 
XRandR event indicating that the mode has changed.

The screen_width/screen_height values currently don't update if the mode 
is changed outside Wine either, so AJ suggested that I could simply 
cache the XRandR mode without worrying about what happens if the mode 
changes outside of Wine.



More information about the wine-devel mailing list