]> Dogcows Code - chaz/openbox/blobdiff - openbox/keyboard.c
unfocus before unlinking the client from the transient tree
[chaz/openbox] / openbox / keyboard.c
index 7a74b427c9e3fda3a63dfa57780912f201189c6a..b1d1d223a5e3cc1f101961c7676185a0c7cbe625 100644 (file)
@@ -162,9 +162,6 @@ void keyboard_interactive_grab(guint state, ObClient *client,
 
     g_assert(action->data.any.interactive);
 
-    if (moveresize_in_progress)
-        moveresize_end(FALSE);
-
     if (!interactive_states) {
         if (!grab_keyboard(TRUE))
             return;
@@ -211,7 +208,7 @@ void keyboard_interactive_end_client(gpointer data)
         next = g_slist_next(it);
 
         if (s->client == c)
-            keyboard_interactive_end(s, 0, FALSE);
+            s->client = NULL;
     }
 }
 
This page took 0.02462 seconds and 4 git commands to generate.