]> Dogcows Code - chaz/openbox/commitdiff
don't move focus if the window appears or disappears
authorDana Jansens <danakj@orodu.net>
Fri, 13 Jul 2007 15:24:26 +0000 (11:24 -0400)
committerDana Jansens <danakj@orodu.net>
Fri, 13 Jul 2007 15:24:26 +0000 (11:24 -0400)
openbox/actions/omnipresent.c

index 4f60b540ff9cae47bc888935645f778bd46c68bc..b6ba16223ffd69fbaf95ed1737501541580c881d 100644 (file)
@@ -13,9 +13,12 @@ void action_omnipresent_startup()
 /* Always return FALSE because its not interactive */
 static gboolean run_func_toggle(ObActionsData *data, gpointer options)
 {
-    if (data->client)
+    if (data->client) {
+        actions_client_move(data, TRUE);
         client_set_desktop(data->client,
                            data->client->desktop == DESKTOP_ALL ?
                            screen_desktop : DESKTOP_ALL, FALSE, TRUE);
+        actions_client_move(data, FALSE);
+    }
     return FALSE;
 }
This page took 0.026019 seconds and 4 git commands to generate.