mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-21 02:25:36 +00:00
xwm: Update size when override redirect windows change size
This commit is contained in:
parent
c940dcdb38
commit
1b6fed41dd
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue