sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

dwm-alwaysfullscreen-6.1.diff (322B)


      1 diff --git a/dwm.c b/dwm.c
      2 index 0362114..a5cab76 100644
      3 --- a/dwm.c
      4 +++ b/dwm.c
      5 @@ -847,7 +847,7 @@ focusstack(const Arg *arg)
      6  {
      7  	Client *c = NULL, *i;
      8  
      9 -	if (!selmon->sel)
     10 +	if (!selmon->sel || selmon->sel->isfullscreen)
     11  		return;
     12  	if (arg->i > 0) {
     13  		for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next);