]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/omnipresent.c
Fix another memleak
[chaz/openbox] / 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.020351 seconds and 4 git commands to generate.