mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-19 08:38:09 +02:00
xwm: Update size when override redirect windows change size
This commit is contained in:
parent
c940dcdb38
commit
1b6fed41dd
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue