mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/x11: don't send ConfigureRequest with the same size
Under X11, ConfigureNotify means that the window has already been resized. Sending ConfigureRequest with the received size is not only useless, but also can confuse the window manager, which will probably reply with the current (i.e. *old*) size causing a configure loop. Fixes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3769
This commit is contained in:
parent
4102b722d9
commit
4990ed99eb
2 changed files with 15 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ struct wlr_x11_output {
|
|||
xcb_window_t win;
|
||||
xcb_present_event_t present_event_id;
|
||||
|
||||
int32_t win_width, win_height;
|
||||
|
||||
struct wlr_pointer pointer;
|
||||
|
||||
struct wlr_touch touch;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue