mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
* Source/x11/XGServerEvent.m (mouseLocationOnScreen🪟): use xScreenSize
instead of DisplayHeight. Fixes mouse events handling on multi-monitor configuration with vertical layout.
This commit is contained in:
parent
983035a7a6
commit
0e811399dc
1 changed files with 1 additions and 1 deletions
|
@ -2703,7 +2703,7 @@ process_modifier_flags(unsigned int state)
|
|||
}
|
||||
else
|
||||
{
|
||||
height = DisplayHeight(dpy, defScreen);
|
||||
height = xScreenSize.height;
|
||||
}
|
||||
p = NSMakePoint(currentX, height - currentY);
|
||||
if (win)
|
||||
|
|
Loading…
Reference in a new issue