diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2023-11-26 00:51:50 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-11-27 09:46:11 +0000 |
commit | 4990ed99ebc8eeb508e0077f620ec2df781fabdb (patch) | |
tree | c5a3b833f9f4e8c9bd14af80389612c9f8242a24 /include/backend | |
parent | 4102b722d9812dbdc6bc0a8cb816e429d4533424 (diff) |
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
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/x11.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h index 06834c1c..9eb208b1 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -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; |