aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-13 15:43:39 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-13 15:43:39 +0100
commit0946e6e3f99908e69043985f56c0bb72d5663938 (patch)
tree25b7095b5e1d137d148bd7902f3cb32b2aee3147
parentWelcome notification update (diff)
downloaddwm-0946e6e3f99908e69043985f56c0bb72d5663938.tar.gz
dwm-0946e6e3f99908e69043985f56c0bb72d5663938.tar.bz2
dwm-0946e6e3f99908e69043985f56c0bb72d5663938.tar.xz
dwm-0946e6e3f99908e69043985f56c0bb72d5663938.tar.zst
dwm-0946e6e3f99908e69043985f56c0bb72d5663938.zip
Added alwaysfullscreen patch
Diffstat (limited to '')
-rw-r--r--README1
-rw-r--r--README.org1
-rw-r--r--dwm.c2
3 files changed, 3 insertions, 1 deletions
diff --git a/README b/README
index a231312..b25e464 100644
--- a/README
+++ b/README
@@ -53,6 +53,7 @@ Patches
List of patches in use:
- actualfullscreen
- alwayscenter
+ - alwaysfullscreen
- attachasideandbelow
- cool-autostart
- fibonacci
diff --git a/README.org b/README.org
index 221eec5..0e570af 100644
--- a/README.org
+++ b/README.org
@@ -50,6 +50,7 @@ Some of the main key bindings:
List of patches in use:
- /actualfullscreen/
- /alwayscenter/
+- /alwaysfullscreen/
- /attachasideandbelow/
- /cool-autostart/
- /fibonacci/
diff --git a/dwm.c b/dwm.c
index 3b8f890..f5aab03 100644
--- a/dwm.c
+++ b/dwm.c
@@ -904,7 +904,7 @@ 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);