Commit 71b9e022 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

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.
parent 6eb49669
......@@ -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++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment