From a61f5fe10e7ddefe2e23cefab59ba2e0ece36ac5 Mon Sep 17 00:00:00 2001 From: Jake Koroman Date: Sat, 18 Oct 2025 10:03:25 -0400 Subject: patch: applied actualfullscreen. --- dwm.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'dwm.c') diff --git a/dwm.c b/dwm.c index 9fc3021..be9e5b2 100644 --- a/dwm.c +++ b/dwm.c @@ -219,6 +219,7 @@ static void tag(const Arg *arg); static void tagmon(const Arg *arg); 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); @@ -1836,6 +1837,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