1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

Fix reporting of non-root X11 window positions

Fixes #517.
This commit is contained in:
Camilla Berglund 2016-02-28 16:05:23 +01:00
parent e51e27fcab
commit 6494da3101

View File

@ -1114,6 +1114,9 @@ static void processEvent(XEvent *event)
case ConfigureNotify:
{
if (!window->x11.overrideRedirect && !event->xany.send_event)
return;
if (event->xconfigure.width != window->x11.width ||
event->xconfigure.height != window->x11.height)
{