From 0946e6e3f99908e69043985f56c0bb72d5663938 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 13 Nov 2020 15:43:39 +0100 Subject: Added alwaysfullscreen patch --- README | 1 + README.org | 1 + dwm.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3