From 3b8c0691f4a24fee44f85418db4c3a29cf54ada1 Mon Sep 17 00:00:00 2001 From: Chris Sobczak Date: Fri, 3 Jul 2026 01:42:32 -0700 Subject: Remove toggle full screen --- .../rm-togglefullscreen/rm-togglefullscreen.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 patches/rm-togglefullscreen/rm-togglefullscreen.patch (limited to 'patches/rm-togglefullscreen') diff --git a/patches/rm-togglefullscreen/rm-togglefullscreen.patch b/patches/rm-togglefullscreen/rm-togglefullscreen.patch new file mode 100644 index 0000000..4f486cb --- /dev/null +++ b/patches/rm-togglefullscreen/rm-togglefullscreen.patch @@ -0,0 +1,27 @@ +diff --git a/dwl.c b/dwl.c +index 7c7d291..500dace 100644 +--- a/dwl.c ++++ b/dwl.c +@@ -382,7 +382,6 @@ 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 togglefullscreen(const Arg *arg); + static void togglegaps(const Arg *arg); + static void toggletag(const Arg *arg); + static void toggleview(const Arg *arg); +@@ -3130,14 +3129,6 @@ togglefloating(const Arg *arg) + setfloating(sel, !sel->isfloating); + } + +-void +-togglefullscreen(const Arg *arg) +-{ +- Client *sel = focustop(selmon); +- if (sel) +- setfullscreen(sel, !sel->isfullscreen); +-} +- + void + togglegaps(const Arg *arg) + { -- cgit v1.2.3