From 6494da3101eba2ad0d9c8b814e98465456c11273 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 28 Feb 2016 16:05:23 +0100 Subject: [PATCH] Fix reporting of non-root X11 window positions Fixes #517. --- src/x11_window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/x11_window.c b/src/x11_window.c index 3d5dd980..1ee5f1ff 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -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) {