From fe79292ddfd24d3dd62b021c11b0df054da7c66d Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sat, 17 Aug 2024 11:14:27 +0400 Subject: actualfullscreen patched --- dwm.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'dwm.c') diff --git a/dwm.c b/dwm.c index a20a885..96fedc2 100644 --- a/dwm.c +++ b/dwm.c @@ -210,6 +210,7 @@ static void tagmon(const Arg *arg); static void tile(Monitor *m); static void togglebar(const Arg *arg); static void togglefloating(const Arg *arg); +static void togglefullscr(const Arg *arg); static void toggletag(const Arg *arg); static void toggleview(const Arg *arg); static void unfocus(Client *c, int setfocus); @@ -1710,6 +1711,13 @@ togglefloating(const Arg *arg) arrange(selmon); } +void +togglefullscr(const Arg *arg) +{ + if(selmon->sel) + setfullscreen(selmon->sel, !selmon->sel->isfullscreen); +} + void toggletag(const Arg *arg) { -- cgit v1.2.3