summaryrefslogtreecommitdiff
path: root/patches/rm-togglefullscreen/rm-togglefullscreen.patch
blob: 4f486cbdccbeeb8f30a92c4ea4dd5c9322aecafe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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)
 {