Skip to content

Commit

Permalink
Fixed focus skipping NEVERFOCUS() clients, for some operations. (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerjenigeUberMensch authored Jun 16, 2024
1 parent d9b5fec commit a5d54eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1286,7 +1286,7 @@ focus(Client *c)
Monitor *selmon = _wm.selmon;
Desktop *desk = selmon->desksel;
if(!c || !ISVISIBLE(c))
{ for(c = desk->focus; c && (!ISVISIBLE(c) || NEVERFOCUS(c)) && !KEEPFOCUS(c); c = nextfocus(c));
{ for(c = desk->focus; c && !ISVISIBLE(c) && !KEEPFOCUS(c); c = nextfocus(c));
}
if(desk->sel && desk->sel != c)
{ unfocus(desk->sel, 0);
Expand Down

0 comments on commit a5d54eb

Please sign in to comment.