summaryrefslogtreecommitdiff
path: root/src/sxwm.c
diff options
context:
space:
mode:
authorAbhinav <abhinav.prsai@gmail.com>2025-07-21 16:47:10 +0100
committerAbhinav <abhinav.prsai@gmail.com>2025-07-21 16:47:10 +0100
commit717c6ceb74e0f99263cd164c31e766b6a30eaee4 (patch)
treef174e058a3a14d5ff0832621602afb1e4783e16d /src/sxwm.c
parente9152df9c02efb6337f1bed1779d3b100b56f0e2 (diff)
fix scratchpad windows cant tile after releasing them
Diffstat (limited to 'src/sxwm.c')
-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)