summaryrefslogtreecommitdiff
path: root/xfce4-session/xfsm-global.c
diff options
context:
space:
mode:
authorSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2019-05-17 14:41:33 +0200
committerSimon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>2019-05-17 14:46:28 +0200
commit0a915310582803296fbfb075e1ea1c045b20bfcc (patch)
treea0631d70d9211dd54440f9419556bf9a28551aae /xfce4-session/xfsm-global.c
parent931059dfb59ac2776e0bb086e665628f8290fa8a (diff)
downloadxfce4-session-0a915310582803296fbfb075e1ea1c045b20bfcc.tar.gz
Introduce priority-group startup for FailSafe Session
The FailSafe Session previously simply started all applications listed in the xfce4-sesion.xml file at once, leading to race conditions with effects like unthemed xfce4-panels etc. (See Bug #15388) The new FailSafe Session implementation introduces the feature of "Priority Groups" that was already present for saved sessions and uses the same startup mechanism. This means that all applications in one priority group have to be launched until the applications from the next priority group can get launched, thus mitigating the racy startup of the old FailSafe Session. As we cannot uniquely identify or track starting applications in the FailSafe Session we simply count the amount of applications per priority group and launch all applications per group at once.
Diffstat (limited to 'xfce4-session/xfsm-global.c')
-rw-r--r--xfce4-session/xfsm-global.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/xfce4-session/xfsm-global.c b/xfce4-session/xfsm-global.c
index 41fdb66c..1f8a1827 100644
--- a/xfce4-session/xfsm-global.c
+++ b/xfce4-session/xfsm-global.c
@@ -59,14 +59,6 @@
/* global variables */
gboolean verbose = FALSE;
-void
-xfsm_failsafe_client_free (FailsafeClient *fclient)
-{
- if (fclient->command)
- g_strfreev (fclient->command);
- g_free (fclient);
-}
-
void
xfsm_enable_verbose (void)