[Xfce4-commits] <xfdesktop:master> Set the session priority.

Nick Schermer noreply at xfce.org
Fri Nov 26 17:34:01 CET 2010


Updating branch refs/heads/master
         to 839f1cffc25a81659556cc078ff2086106fc569e (commit)
       from c8a1064e0528aa0827f9871a0fc7bd7f78dc2b92 (commit)

commit 839f1cffc25a81659556cc078ff2086106fc569e
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Nov 26 17:31:54 2010 +0100

    Set the session priority.
    
    Start the desktop after the panel but before other
    applications.

 src/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c
index 5d96207..af11691 100644
--- a/src/main.c
+++ b/src/main.c
@@ -330,6 +330,7 @@ main(int argc, char **argv)
 
     sm_client = xfce_sm_client_get();
     xfce_sm_client_set_restart_style(sm_client, XFCE_SM_CLIENT_RESTART_IMMEDIATELY);
+    xfce_sm_client_set_priority(sm_client, XFCE_SM_CLIENT_PRIORITY_DESKTOP);
     g_signal_connect(sm_client, "quit",
                      G_CALLBACK(session_die), NULL);
 



More information about the Xfce4-commits mailing list