summaryrefslogtreecommitdiff
path: root/patches/rm-togglefullscreen
diff options
context:
space:
mode:
authorChris Sobczak <chris@sobczak.family>2026-07-03 01:42:32 -0700
committerChris Sobczak <chris@sobczak.family>2026-07-03 01:42:32 -0700
commit3b8c0691f4a24fee44f85418db4c3a29cf54ada1 (patch)
tree312d5ee4cd47fb2f8c281e432fd8b1bf7f96812e /patches/rm-togglefullscreen
parent578f96453e3d94733b4c3b4590f7c714ff13233c (diff)
Remove toggle full screenremove-togglefullscreen
Diffstat (limited to 'patches/rm-togglefullscreen')
-rw-r--r--patches/rm-togglefullscreen/rm-togglefullscreen.patch27
1 files changed, 27 insertions, 0 deletions
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)
+ {