mutter/src
Carlos Garnacho 5daddf0bc7 core: Retrieve DESKTOP_AUTOSTART_ID early on startup
With the move away from GTK3, and the indirect dependency on GTK4
grown in the GNOME Shell side, we've indirectly gotten a small sneaky
behavioral change: The GTK4 library will, right on dlopen, get
DESKTOP_AUTOSTART_ID for itself and delete it from the environment.

This happens before our own X11 session management code is
initialized, which confuses the hell out of it, into thinking
initialization is actually shutdown, gnome-session does not follow
along with this request, which leaves GNOME Shell into a confused
startup state where it never calls SmcSaveYourselfDone() and grinds
startup to a halt until gnome-session decides to move things forward.

In order to fix this, get the DESKTOP_AUTOSTART_ID before we lend
control to GNOME Shell bits and GTK4 is possibly initialized, and
feed it directly to our X11 session manager bits.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2906>
2023-03-18 15:40:17 +00:00
..
backends monitor-manager: Restore old config in idle callback when unconfirmed 2023-03-18 13:52:10 +00:00
compositor shaped-texture: Account for linear sampling when calculating actor damage 2023-03-04 18:23:34 +00:00
core core: Retrieve DESKTOP_AUTOSTART_ID early on startup 2023-03-18 15:40:17 +00:00
frames frames: Select SubstructureNotifyMask too 2023-03-04 23:45:35 +00:00
meta prefs: Add get_keybinding_label() method 2023-03-06 01:57:27 +01:00
tests tests/wayland: Add missing dependencies 2023-03-05 00:23:26 +00:00
wayland wayland/surface: Export get_buffer_[width|height] to tests 2023-03-04 22:13:45 +01:00
x11 core: Retrieve DESKTOP_AUTOSTART_ID early on startup 2023-03-18 15:40:17 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build wayland: Implement fractional_scale_v1 protocol 2023-03-04 22:13:45 +01: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