aboutsummaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2021-07-12 23:44:16 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2021-07-14 11:26:37 +0200
commit138b405f0c8aa24d8a040cc1a1cf6e3eb5a0ebc7 (patch)
tree916ae3ca84f31fc7d07ca272033986acbd28c861 /dwm.c
parent67d76bdc68102df976177de351f65329d8683064 (diff)
downloaddwm-138b405f0c8aa24d8a040cc1a1cf6e3eb5a0ebc7.tar.gz
dwm-138b405f0c8aa24d8a040cc1a1cf6e3eb5a0ebc7.tar.bz2
dwm-138b405f0c8aa24d8a040cc1a1cf6e3eb5a0ebc7.zip
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 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index b0b3466..5e4d494 100644
--- a/dwm.c
+++ b/dwm.c
@@ -835,7 +835,7 @@ focusstack(const Arg *arg)
{
Client *c = NULL, *i;
- if (!selmon->sel || selmon->sel->isfullscreen)
+ if (!selmon->sel || (selmon->sel->isfullscreen && lockfullscreen))
return;
if (arg->i > 0) {
for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next);