Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Add a configuration option for fullscreen locking
[dwm.git]
/
dwm.c
diff --git
a/dwm.c
b/dwm.c
index
664c527
..
5e4d494
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-835,7
+835,7
@@
focusstack(const Arg *arg)
{
Client *c = NULL, *i;
{
Client *c = NULL, *i;
- if (!selmon->sel)
+ if (!selmon->sel
|| (selmon->sel->isfullscreen && lockfullscreen)
)
return;
if (arg->i > 0) {
for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next);
return;
if (arg->i > 0) {
for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next);