mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-22 17:08:12 +02:00
There is more state than just the application window width and height that
affects whether calling weston_wm_window_configure() is necessary: everything
that affects the frame window, fullscreen state in particular. Therefore do not
skip the call by just width and height.
If send_configure() happens to be called "unnecessarily", this will now forward
some of those calls to the X11 clients. However, since it uses an idle task, it
should not result in a flood at least. And if send_configure() is spammed,
maybe that should then be fixed in its callers.
This patch should fix the misplacement of a fullscreen X11 window due to the
frame window being incorrectly sized and positioned, and the app window
incorrectly positioned inside the frame window.
The fullscreen window problems were observed in a case where the window does
not hit legacy_fullscreen() but first maps and then sets
_NET_WM_STATE_FULLSCREEN. Additionally the initial window size must match the
output size where it gets fullscreened. In that case the frame window was left
as if not fullscreened.
This practically reverts
|
||
|---|---|---|
| .. | ||
| dnd.c | ||
| hash.c | ||
| hash.h | ||
| launcher.c | ||
| meson.build | ||
| selection.c | ||
| window-manager.c | ||
| xwayland-internal-interface.h | ||
| xwayland.h | ||