mutter/src
Jonas Ådahl b4fe1fdd95 xwayland: Make setup/teardown a bit more symmetrical
We setup Xwayland in an early phase of the X11 display, before we had a
MetaX11Display, and teared down in a couple of places happening when
tearing down the Xwayland integration if the X server died or
terminated. It was a bit hard to follow what happened and when it
happened. Attempt to clean this up a bit, with things being structured
as follows:

 * Early during X11 display connection setup, only setup the rudimentary
   X11 hooks, being the libX11 error callbacks, and adding the local
   user to XHost.

 * Move "initialize Xwayland component" code to a new
   'x11-display-setup' signal handler. Things setup here are cleaned up
   in the 'x11-display-closing' handler.

 * Connect to 'x11-display-setup' and 'x11-display-closing' up front,
   and stay connected to these two.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1796>
2021-10-26 16:54:58 +02:00
..
backends backends/x11: Fix off by one in debug output 2021-10-25 15:45:35 +02:00
compositor compositor: Remove dead code 2021-10-25 15:45:35 +02:00
core xwayland: Make setup/teardown a bit more symmetrical 2021-10-26 16:54:58 +02:00
meta util: Export and annotate meta_get_clutter_debug_flags 2021-10-18 16:46:59 +00:00
tests tests: Add additional debug in wait_for_orientation() 2021-10-22 07:43:19 +00:00
ui main: Move rect related macro to util-private.h 2021-05-17 16:08:42 +00:00
wayland xwayland: Make setup/teardown a bit more symmetrical 2021-10-26 16:54:58 +02:00
x11 xwayland: Make setup/teardown a bit more symmetrical 2021-10-26 16:54:58 +02:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build backends/native: Use rtkit to get realtime priority 2021-10-22 08:35:15 +00:00
meta-private-enum-types.c.in core: Drop "volatile" from static GTypes in manual registration 2021-03-22 10:47:51 +00:00
meta-private-enum-types.h.in screen-cast: Add screen cast flag to streams 2020-07-30 09:51:16 +02:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.freedesktop.RealtimeKit1.xml backends/native: Use rtkit to get realtime priority 2021-10-22 08:35:15 +00:00
org.gnome.Mutter.DisplayConfig.xml x11: Support the CTM (color transform matrix) RandR property 2021-01-11 13:44:54 +00:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml remote-desktop/session: Add CapsLockState and NumLockState properties 2021-03-04 17:39:08 +00:00
org.gnome.Mutter.ScreenCast.xml screen-cast/session: Introduce RecordVirtual D-Bus API 2021-03-12 15:09:45 +00:00