winemac: Raise full-screen windows in front of the status items in the Mac menu bar.
Status items are the things on the right end of the Mac menu bar, like the clock and volume widget. It turns out that they are displayed at a higher window level than everything else in the menu bar. For the case where the displays are not captured for a full-screen window, the window ends up at the same window level as the status items, and they would sometimes end up on top. They would draw over the full-screen window and could be clicked.
This commit is contained in:
parent
6eb49669aa
commit
71b9e02265
@ -791,7 +791,7 @@ static inline NSUInteger adjusted_modifiers_for_option_behavior(NSUInteger modif
|
||||
if (captured)
|
||||
level = CGShieldingWindowLevel() + 1; /* Need +1 or we don't get mouse moves */
|
||||
else
|
||||
level = NSMainMenuWindowLevel + 1;
|
||||
level = NSStatusWindowLevel + 1;
|
||||
|
||||
if (self.floating)
|
||||
level++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user