]> Dogcows Code - chaz/openbox/blobdiff - openbox/startupnotify.c
allow new windows on other desktops to get focused if specified in a per-app rule
[chaz/openbox] / openbox / startupnotify.c
index 3e8799f8dd9ea7f4a9bc4b0e5d6fda66cdca2e3e..c300d57d5cea43d0b56a2f75c107ea200b43de99 100644 (file)
@@ -239,7 +239,7 @@ void sn_setup_spawn_environment(const gchar *program, const gchar *name,
     gchar *desc;
     const char *id;
 
-    desc = g_strdup_printf(_("Running %s\n"), program);
+    desc = g_strdup_printf(_("Running %s"), program);
 
     if (sn_launcher_context_get_initiated(sn_launcher)) {
         sn_launcher_context_unref(sn_launcher);
@@ -255,7 +255,7 @@ void sn_setup_spawn_environment(const gchar *program, const gchar *name,
     if (desktop >= 0 && (unsigned) desktop < screen_num_desktops)
         sn_launcher_context_set_workspace(sn_launcher, (signed) desktop);
     sn_launcher_context_initiate(sn_launcher, "openbox", program,
-                                 event_curtime);
+                                 event_time());
     id = sn_launcher_context_get_startup_id(sn_launcher);
 
     /* 20 second timeout for apps to start */
This page took 0.022481 seconds and 4 git commands to generate.