From ee5cb143c0b70ed326348eb47d54633105102ad8 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 9 Apr 2009 12:13:14 +0200 Subject: [PATCH] =?utf8?q?Oops.=20Don=E2=80=99t=20kill=20the=20current=20w?= =?utf8?q?orkspace?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5