[Xfce4-commits] [xfce/xfce4-settings] 01/01: xfsettingsd: Increase startup priority

noreply at xfce.org noreply at xfce.org
Thu May 16 00:25:00 CEST 2019


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-settings.

commit ddbaa10fe716d4640d4c5bada8ec43e29d3bbec2
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Thu May 16 00:23:49 2019 +0200

    xfsettingsd: Increase startup priority
    
    This number is used by xfce4-session to create priority groups for the
    startup order of clients. We should ensure that xfsettingsd starts
    *after* the WM (Prio: 15) but *before* most other clients.
---
 xfsettingsd/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xfsettingsd/main.c b/xfsettingsd/main.c
index a3a14fe..6ed6ba8 100644
--- a/xfsettingsd/main.c
+++ b/xfsettingsd/main.c
@@ -130,7 +130,7 @@ on_name_acquired (GDBusConnection *connection,
     s_data->sm_client = xfce_sm_client_get ();
     xfce_sm_client_set_restart_style (s_data->sm_client, XFCE_SM_CLIENT_RESTART_IMMEDIATELY);
     xfce_sm_client_set_desktop_file (s_data->sm_client, XFSETTINGS_DESKTOP_FILE);
-    xfce_sm_client_set_priority (s_data->sm_client, XFCE_SM_CLIENT_PRIORITY_CORE);
+    xfce_sm_client_set_priority (s_data->sm_client, 20);
     g_signal_connect (G_OBJECT (s_data->sm_client), "quit", G_CALLBACK (gtk_main_quit), NULL);
     if (!xfce_sm_client_connect (s_data->sm_client, &error) && error)
     {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list