Fix for pointer-offset issue when using a multi-display environment on X11.app.
(cherry picked from commit 9a7e14286c
)
This commit is contained in:
parent
3f081b4de5
commit
570b0dca26
|
@ -150,7 +150,7 @@ displayScreenBounds(CGDirectDisplayID id)
|
|||
|
||||
/* Remove menubar to help standard X11 window managers. */
|
||||
|
||||
if (frame.origin.x == 0 && frame.origin.y == 0)
|
||||
if (frame.origin.y == 0)
|
||||
{
|
||||
frame.origin.y += aquaMenuBarHeight;
|
||||
frame.size.height -= aquaMenuBarHeight;
|
||||
|
|
Loading…
Reference in New Issue
Block a user