]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/execute.c
Allow windows created by execute actions to steal focus if the user isn't interacting...
[chaz/openbox] / openbox / actions / execute.c
index fdce77b7c1c3cbbd647e36f49ce2a7ee21264b7f..df600fa08a7a66aa328f557c9660eaa500e5aa4f 100644 (file)
@@ -33,6 +33,7 @@ void action_execute_startup(void)
 {
     actions_register("Execute", setup_func, free_func, run_func);
     actions_set_shutdown("Execute", shutdown_func);
+    actions_set_modifies_focused_window("Execute", FALSE);
 
     client_add_destroy_notify(client_dest, NULL);
 }
@@ -260,7 +261,7 @@ static gboolean run_func(ObActionsData *data, gpointer options)
 
         if (o->sn) {
             if (!ok) sn_spawn_cancel();
-            unsetenv("DESKTOP_STARTUP_ID");
+            g_unsetenv("DESKTOP_STARTUP_ID");
         }
 
         g_free(program);
This page took 0.024841 seconds and 4 git commands to generate.