Hi,
Won't such code fail if the mode is changed outside wine?
Regards, Ruslan
On Fri, May 10, 2013 at 8:07 PM, Sam Edwards cfsworks@gmail.com wrote:
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.