]> git.sur5r.net Git - i3/i3/commitdiff
Oops. Don’t kill the current workspace
authorMichael Stapelberg <michael+x200@stapelberg.de>
Thu, 9 Apr 2009 10:13:14 +0000 (12:13 +0200)
committerMichael Stapelberg <michael+x200@stapelberg.de>
Thu, 9 Apr 2009 10:13:14 +0000 (12:13 +0200)
src/handlers.c

index deb13b22626c979205879562cee6db1a5d413680..faca13bca1d30319bcc435313f40350b8d248135 100644 (file)
@@ -643,7 +643,7 @@ int handle_unmap_notify_event(void *data, xcb_connection_t *conn, xcb_unmap_noti
                         break;
                 }
 
-        if (workspace_empty)
+        if (workspace_empty && (c_ws != client->workspace))
                 client->workspace->screen = NULL;
 
         free(client);