]> git.sur5r.net Git - i3/i3/blobdiff - src/handlers.c
Implement changing focus via keyboard between floating clients, fix several floating...
[i3/i3] / src / handlers.c
index e472bde5f8d60bfc8dbb17689155d20376aaf020..2d4afc71bda549d4af8b0604f05340406a7d21f4 100644 (file)
@@ -584,6 +584,11 @@ int handle_unmap_notify_event(void *data, xcb_connection_t *conn, xcb_unmap_noti
                 SLIST_REMOVE(&(client->workspace->screen->dock_clients), client, Client, dock_clients);
         }
 
+        if (client->floating) {
+                LOG("Removing from floating clients\n");
+                TAILQ_REMOVE(&(client->workspace->floating_clients), client, floating_clients);
+        }
+
         LOG("child of 0x%08x.\n", client->frame);
         xcb_reparent_window(conn, client->child, root, 0, 0);
         xcb_destroy_window(conn, client->frame);