[Xfce4-commits] r29458 - in thunar/trunk: . thunar-vfs
Nick Schermer
nick at xfce.org
Sat Feb 7 08:43:49 CET 2009
Author: nick
Date: 2009-02-07 07:43:49 +0000 (Sat, 07 Feb 2009)
New Revision: 29458
Modified:
thunar/trunk/NEWS
thunar/trunk/thunar-vfs/thunar-vfs-exec.c
Log:
Pass the current event time to startup notification, so focus
stealing works properly.
Modified: thunar/trunk/NEWS
===================================================================
--- thunar/trunk/NEWS 2009-02-07 06:54:54 UTC (rev 29457)
+++ thunar/trunk/NEWS 2009-02-07 07:43:49 UTC (rev 29458)
@@ -2,6 +2,8 @@
========
- Fix crash when entering the same hidden directory twice in the
location entry (bug #4847).
+- Pass the current event time to startup notification, so focus
+ stealing works properly.
0.9.99.1
========
Modified: thunar/trunk/thunar-vfs/thunar-vfs-exec.c
===================================================================
--- thunar/trunk/thunar-vfs/thunar-vfs-exec.c 2009-02-07 06:54:54 UTC (rev 29457)
+++ thunar/trunk/thunar-vfs/thunar-vfs-exec.c 2009-02-07 07:43:49 UTC (rev 29458)
@@ -479,7 +479,7 @@
sn_launcher_context_set_binary_name (sn_launcher, argv[0]);
sn_launcher_context_set_workspace (sn_launcher, sn_workspace);
sn_launcher_context_set_icon_name (sn_launcher, (icon_name != NULL) ? icon_name : "applications-other");
- sn_launcher_context_initiate (sn_launcher, g_get_prgname (), argv[0], CurrentTime);
+ sn_launcher_context_initiate (sn_launcher, g_get_prgname (), argv[0], gtk_get_current_event_time ());
/* add the real startup id to the child environment */
cenvp[n_cenvp++] = g_strconcat ("DESKTOP_STARTUP_ID=", sn_launcher_context_get_startup_id (sn_launcher), NULL);
More information about the Xfce4-commits
mailing list