[PATCH 1/6] winemac: Don't record original display modes when not the active app.

Ken Thomases ken at codeweavers.com
Fri Jan 10 03:11:19 CST 2014


originalDisplayModes should be used when active, empty when inactive.
latentDisplayModes is used when inactive, empty when active.

The count of entries in originalDisplayModes is used to test whether the
process has the displays captured so adding entries when inactive would give
incorrect results.  This could have led us to mistakenly change the display
mode when we don't have the displays captured.
---
dlls/winemac.drv/cocoa_app.m | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winemac-Don-t-record-original-display-modes-when-not.patch
Type: text/x-patch
Size: 1645 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140110/7d1cfd4c/attachment.bin>


More information about the wine-patches mailing list