summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sxwm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sxwm.c b/src/sxwm.c
index edbe837..e21587e 100644
--- a/src/sxwm.c
+++ b/src/sxwm.c
@@ -1877,10 +1877,14 @@ void remove_scratchpad(int n)
if (c->win) {
XMapWindow(dpy, c->win);
+ c->mapped = True;
}
scratchpads[n].client = NULL;
scratchpads[n].enabled = False;
+
+ update_net_client_list();
+ update_borders();
}
void resize_master_add(void)