Add a configuration option for fullscreen locking

Some people are annoyed to have this new behaviour forced for some
application which use fake fullscreen.
This commit is contained in:
Quentin Rameau
2022-03-22 23:51:56 -06:00
parent d8f430accf
commit 326eee1444
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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) {