[gnome-settings-daemon/benzea/systemd-3-36] xsettings: Order after x11 services and before X11 services ready flag
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/benzea/systemd-3-36] xsettings: Order after x11 services and before X11 services ready flag
- Date: Wed, 15 Jul 2020 16:10:36 +0000 (UTC)
commit dfd4443fce5b2f5f8f0adda95f88463c277308fa
Author: Benjamin Berg <bberg redhat com>
Date: Wed Jul 15 18:08:58 2020 +0200
xsettings: Order after x11 services and before X11 services ready flag
We need to both reliably shutdown and notify gnome-shell that we are
ready. The gnome-session-x11-services.target does the first (we order
ourselves After= to ensure this works) and the -ready.target is our flag
to tell gnome-shell it may release the X11 socket for clients.
plugins/meson.build | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/plugins/meson.build b/plugins/meson.build
index ff104e744..ba34f70d8 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -46,7 +46,11 @@ endif
# Specify futher required units, 'before' or 'after' may be specified if ordering is needed
plugin_gate_units = {
- 'xsettings': [['gnome-session-x11-services.target', 'before']],
+ 'xsettings': [
+ # Both after/before. after for stopping reliably, before for synchronisation
+ ['gnome-session-x11-services.target', 'after'],
+ ['gnome-session-x11-services-ready.target', 'before'],
+ ],
# 'wacom': [['wacom.target']],
# 'smartcard': [['smartcard.target']],
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]