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: case ConfigureNotify:
{ {
if (!window->x11.overrideRedirect && !event->xany.send_event)
return;
if (event->xconfigure.width != window->x11.width || if (event->xconfigure.width != window->x11.width ||
event->xconfigure.height != window->x11.height) event->xconfigure.height != window->x11.height)
{ {