From 1b6fed41dd6c563207a2df6869fe887a280cabf2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Sat, 31 Aug 2013 00:00:57 -0700 Subject: [PATCH] xwm: Update size when override redirect windows change size --- src/xwayland/window-manager.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c index a8b949b..93a912b 100644 --- a/src/xwayland/window-manager.c +++ b/src/xwayland/window-manager.c @@ -578,6 +578,10 @@ weston_wm_handle_configure_notify(struct weston_wm *wm, xcb_generic_event_t *eve weston_wm_window_get_child_position(window, &x, &y); window->x = configure_notify->x; window->y = configure_notify->y; + if (window->override_redirect) { + window->width = configure_notify->width; + window->height = configure_notify->height; + } } static void -- 2.7.4