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-22 23:51:56 -0600
commit326eee14445f8a2c08e80c30778445630c75d3bb (patch)
treed1882b799020a75cb8af477207efa8e978708c9d /dwl.c
parentd8f430accfb66c2575de608bb1b4c71815e4379a (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 f8d01f2..9ea44e2 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1177,7 +1177,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) {