winemac: Keep floating windows in a higher window level than non-floating full-screen...
commit7161df136fd1f98fc005528e6e2f391e5a952f1b
authorKen Thomases <ken@codeweavers.com>
Fri, 2 Dec 2016 01:38:40 +0000 (1 19:38 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 2 Dec 2016 10:43:44 +0000 (2 11:43 +0100)
tree13979db8828375fe7daf66714b385247d9de47be
parentb5194d6f8300ee3114e848d1bc28207c7d4e4a7b
winemac: Keep floating windows in a higher window level than non-floating full-screen windows.

When windows aren't full-screen, non-floating windows go in NSNormalWindowLevel
and floating ones go in NSFloatingWindowLevel, which is higher.  However, a
non-floating full-screen window will go into a level higher than either of
those.  The prior logic of the -adjustWindowLevels: method would keep the
floating windows at a window level at least that high.  They should actually
be in a strictly higher level.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winemac.drv/cocoa_app.m