]> Dogcows Code - chaz/openbox/blobdiff - openbox/keyboard.c
only restack group windows on the same desktop
[chaz/openbox] / openbox / keyboard.c
index b1d1d223a5e3cc1f101961c7676185a0c7cbe625..11b3a98509a058fa6964384342f123f117b13fbc 100644 (file)
@@ -197,17 +197,16 @@ void keyboard_interactive_end(ObInteractiveState *s,
     }
 }
 
-void keyboard_interactive_end_client(gpointer data)
+void keyboard_interactive_end_client(ObClient *client, gpointer data)
 {
     GSList *it, *next;
-    ObClient *c = data;
 
     for (it = interactive_states; it; it = next) {
         ObInteractiveState *s = it->data;
 
         next = g_slist_next(it);
 
-        if (s->client == c)
+        if (s->client == client)
             s->client = NULL;
     }
 }
@@ -291,7 +290,7 @@ void keyboard_startup(gboolean reconfig)
     grab_keys(TRUE);
 
     if (!reconfig)
-        client_add_destructor(keyboard_interactive_end_client);
+        client_add_destructor(keyboard_interactive_end_client, NULL);
 }
 
 void keyboard_shutdown(gboolean reconfig)
This page took 0.023095 seconds and 4 git commands to generate.