[wiki] [sites] dwm patches: Add "alwaysfullscreen" patch || Chris Down

From: <git_AT_suckless.org>
Date: Thu, 20 Feb 2014 04:50:08 +0100

commit 53532e1a5baba6a97f39b84d3fa778a2dd0cde32
Author: Chris Down <chris_AT_chrisdown.name>
Date: Thu Feb 20 11:49:56 2014 +0800

    dwm patches: Add "alwaysfullscreen" patch

diff --git a/dwm.suckless.org/patches/alwaysfullscreen.md b/dwm.suckless.org/patches/alwaysfullscreen.md
new file mode 100644
index 0000000..e4edeec
--- /dev/null
+++ b/dwm.suckless.org/patches/alwaysfullscreen.md
_AT_@ -0,0 +1,18 @@
+alwaysfullscreen
+================
+
+Description
+-----------
+
+Do not allow focus to drift from the active fullscreen client when using
+focusstack().
+
+Download
+--------
+
+* [dwm-cdec978-alwaysfullscreen.diff](dwm-cdec978-alwaysfullscreen.diff) (323b) (20140220)
+
+Author
+------
+
+* [Chris Down](https://chrisdown.name) (cdown) <chris_AT_chrisdown.name>
diff --git a/dwm.suckless.org/patches/dwm-cdec978-alwaysfullscreen.diff b/dwm.suckless.org/patches/dwm-cdec978-alwaysfullscreen.diff
new file mode 100644
index 0000000..5a944ca
--- /dev/null
+++ b/dwm.suckless.org/patches/dwm-cdec978-alwaysfullscreen.diff
_AT_@ -0,0 +1,13 @@
+diff --git a/dwm.c b/dwm.c
+index 1bbb4b3..fe5069d 100644
+--- a/dwm.c
++++ b/dwm.c
+_AT_@ -829,7 +829,7 @@ void
+ focusstack(const Arg *arg) {
+ Client *c = NULL, *i;
+
+- if(!selmon->sel)
++ if(!selmon->sel || selmon->sel->isfullscreen)
+ return;
+ if(arg->i > 0) {
+ for(c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next);
Received on Thu Feb 20 2014 - 04:50:08 CET

This archive was generated by hypermail 2.3.0 : Thu Jun 18 2015 - 17:38:22 CEST