xwm: Update size when override redirect windows change size
authorKristian Høgsberg <krh@bitplanet.net>
Sat, 31 Aug 2013 07:00:57 +0000 (00:00 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 4 Sep 2013 03:56:12 +0000 (20:56 -0700)
src/xwayland/window-manager.c

index a8b949b..93a912b 100644 (file)
@@ -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