* 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:
Sergii Stoian 2020-02-26 01:45:47 +02:00
parent 983035a7a6
commit 0e811399dc

View file

@ -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)