mutter/src
Jonas Ådahl ac093dc651 wayland/xdg-shell: Send xdg_popup.popup_done when position invalid
A client may provide a positioner that places the window outside of its
parent. This isn't allowed, according to spec, so we hide the window and
log a warning. This, however, leads these affected clients with an
incorrect view of what is mapped or not, meaning it becomes harder to
recover.

Fix this by sending xdg_popup.done when we hide the popup due to an
invalid position. Don't error out the client, let the bug slide, as
that's a less jarring experience for existing applications that
reproduce this than being disconnected, which practically feels like a
crash.

Related: https://gitlab.gnome.org/GNOME/mutter/-/issues/2408
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2645>
2022-11-06 13:06:37 +00:00
..
backends Move MetaProfiler from the backend to core 2022-11-01 21:04:21 +00:00
compositor plugin/default: Don't load properties when getting locale proxy 2022-11-01 21:04:21 +00:00
core gesture-tracker: Never reject sequences in Wayland sessions 2022-11-04 19:09:56 +00:00
meta barrier: Make type derivable again 2022-09-15 12:27:52 +00:00
tests tests/dbus-runner: Add way to launch custom services 2022-11-01 21:04:21 +00:00
ui frames: Add basic color-scheme support 2022-07-29 13:19:23 +00:00
wayland wayland/xdg-shell: Send xdg_popup.popup_done when position invalid 2022-11-06 13:06:37 +00:00
x11 window/x11: Ignore the _NET_WM_BYPASS_COMPOSITOR = 1 hint 2022-10-21 12:58:07 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build Move MetaProfiler from the backend to core 2022-11-01 21:04:21 +00:00
meta-private-enum-types.c.in build: Add missing include 2022-08-10 20:28:40 +02:00
meta-private-enum-types.h.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00