Reverts commit 3a2c05b which causes the loss of focus of the thunar's and xfce4-terminal's window. commit 3a2c05bd68f924f5c8bd530a2fe8f4cc5b671b16 Author: Sean Davis Date: Thu Mar 5 15:55:59 2015 -0500 Fix StartupNotify (Bug 9570, thanks Thaddaeus) --- exo-helper/exo-helper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exo-helper/exo-helper.c b/exo-helper/exo-helper.c index 6931347..541420e 100644 --- a/exo-helper/exo-helper.c +++ b/exo-helper/exo-helper.c @@ -353,6 +353,7 @@ exo_helper_execute (ExoHelper *helper, gchar **argv; gchar *command; guint n; + gint pid; const gchar *real_parameter = parameter; g_return_val_if_fail (EXO_IS_HELPER (helper), FALSE); @@ -393,7 +394,7 @@ exo_helper_execute (ExoHelper *helper, continue; /* try to run the command */ - succeed = xfce_spawn_on_screen (screen, NULL, argv, NULL, G_SPAWN_SEARCH_PATH, helper->startup_notify, gtk_get_current_event_time (), NULL, &err); + succeed = gdk_spawn_on_screen (screen, NULL, argv, NULL, G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH, NULL, NULL, &pid, &err); /* cleanup */ g_strfreev (argv); -- 2.1.0