From e3bef4852df267f5250ef8565208715646b54151 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Sun, 19 Apr 2015 04:38:31 +0000 Subject: [PATCH] Fix configure request --- sys-xcb.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sys-xcb.c b/sys-xcb.c index 82e91a7..06e4d88 100644 --- a/sys-xcb.c +++ b/sys-xcb.c @@ -737,10 +737,12 @@ static void on_configure_request(xcb_configure_request_event_t *event) event->x, event->y); if (!win) return; - win->x = event->x; - win->y = event->y; - win->w = event->width; - win->h = event->height; + if (!win->sys->managed) { + win->x = event->x; + win->y = event->y; + win->w = event->width; + win->h = event->height; + } xcb_configure_notify_event_t resp = { .response_type = XCB_CONFIGURE_NOTIFY, -- 2.43.2