URI: 
       Add a configuration option for fullscreen locking - dwm - dynamic window manager
  HTML git clone https://git.parazyd.org/dwm
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 138b405f0c8aa24d8a040cc1a1cf6e3eb5a0ebc7
   DIR parent 67d76bdc68102df976177de351f65329d8683064
  HTML Author: Quentin Rameau <quinq@fifth.space>
       Date:   Mon, 12 Jul 2021 23:44:16 +0200
       
       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:
         M config.def.h                        |       1 +
         M dwm.c                               |       2 +-
       
       2 files changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/config.def.h b/config.def.h
       @@ -35,6 +35,7 @@ static const Rule rules[] = {
        static const float mfact     = 0.55; /* factor of master area size [0.05..0.95] */
        static const int nmaster     = 1;    /* number of clients in master area */
        static const int resizehints = 1;    /* 1 means respect size hints in tiled resizals */
       +static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
        
        static const Layout layouts[] = {
                /* symbol     arrange function */
   DIR diff --git 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);