aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index d0649a4..aa62aab 100644
--- a/dwm.c
+++ b/dwm.c
@@ -2264,8 +2264,10 @@ togglefloating(const Arg *arg)
void
togglefullscr(const Arg *arg)
{
- if(selmon->sel)
+ if(selmon->sel) {
setfullscreen(selmon->sel, !selmon->sel->isfullscreen);
+ togglebar(NULL);
+ }
}
void