Oops. Don’t kill the current workspace

This commit is contained in:
Michael Stapelberg 2009-04-09 12:13:14 +02:00
parent 72d82f3993
commit ee5cb143c0

View 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);