From: Andy Spencer Date: Sun, 19 Apr 2015 04:38:31 +0000 (+0000) Subject: Fix configure request X-Git-Url: http://pileus.org/git/?p=wmpus;a=commitdiff_plain;h=e3bef4852df267f5250ef8565208715646b54151 Fix configure request --- 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,