[PATCH 5/9] winemac: Centralize adjusting of window levels using the window server's z-order.

Ken Thomases ken at codeweavers.com
Thu May 16 18:43:33 CDT 2013


Getting the window levels right requires a global perspective.  Having each window
try to do it failed to properly handle certain cases involving reordering windows.

We no longer try to maintain our own ordered window list; we can't do it right and
the window server does it for us.

This also handles Spaces better.  A full-screen, and therefore elevated, window on
one space shouldn't elevate windows on other spaces which aren't in danger of
being hidden behind it.
---
dlls/winemac.drv/cocoa_app.h    |    7 +-
dlls/winemac.drv/cocoa_app.m    |  198 +++++++++++++++++++++++---------------
dlls/winemac.drv/cocoa_window.h |    5 +-
dlls/winemac.drv/cocoa_window.m |  200 +++++++++++++--------------------------
4 files changed, 186 insertions(+), 224 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-winemac-Centralize-adjusting-of-window-levels-using-.patch
Type: text/x-patch
Size: 28485 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130516/d0ce0048/attachment-0001.bin>


More information about the wine-patches mailing list