aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-05-23 15:18:20 -0700
committerFuwn <[email protected]>2024-05-23 15:18:20 -0700
commit7e85183642cfa54cf8d28015876dd3feeada356c (patch)
tree5bfb3f3189ca9129303c97f0771c9cedd08864fc
parentfix(dwm.c): barpadding and systray compatibility (diff)
downloadseiwm-7e85183642cfa54cf8d28015876dd3feeada356c.tar.xz
seiwm-7e85183642cfa54cf8d28015876dd3feeada356c.zip
feat(dwm.c): toggle bar on fullscreen toggle
-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