aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--monsterwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monsterwm.c b/monsterwm.c
index 8f905f8..1133f34 100644
--- a/monsterwm.c
+++ b/monsterwm.c
@@ -683,7 +683,7 @@ void togglepanel() {
}
void update_current(void) {
- if (!current) return;
+ if (!current) { XDeleteProperty(dis, root, netatoms[NET_ACTIVE]); return; }
int border_width = (!head->next || head->next->istransient || mode == MONOCLE) ? 0 : BORDER_WIDTH;
for (client *c=head; c; c=c->next) {