xwm: Update size when override redirect windows change size

This commit is contained in:
Kristian Høgsberg 2013-08-31 00:00:57 -07:00
parent c940dcdb38
commit 1b6fed41dd

View 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