aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2021-07-12 23:44:16 +0200
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-03-23 18:22:40 -0600
commitb42abeac69b08558c06611a725a997f4ad0affd8 (patch)
tree73a9bba4682f7db301dd627f1be229235f6269fd /dwl.c
parent5a1debb5f0fec4f149f8a4490828116e3b1f3b9c (diff)
Add a configuration option for fullscreen locking
Some people are annoyed to have this new behaviour forced for some application which use fake fullscreen.
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 0f742e4..cf6889e 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1050,7 +1050,7 @@ focusstack(const Arg *arg)
{
/* Focus the next or previous client (in tiling order) on selmon */
Client *c, *sel = selclient();
- if (!sel)
+ if (!sel || (sel->isfullscreen && lockfullscreen))
return;
if (arg->i > 0) {
wl_list_for_each(c, &sel->link, link) {