From: Michael Stapelberg Date: Thu, 9 Apr 2009 10:13:14 +0000 (+0200) Subject: Oops. Don’t kill the current workspace X-Git-Tag: 3.a-bf1~51 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ee5cb143c0b70ed326348eb47d54633105102ad8;p=i3%2Fi3 Oops. Don’t kill the current workspace --- diff --git a/src/handlers.c b/src/handlers.c index deb13b22..faca13bc 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -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);