mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
selmon optimisation is needed
This commit is contained in:
parent
aa9f2be24e
commit
a88e0373ef
1 changed files with 0 additions and 4 deletions
4
dwm.c
4
dwm.c
|
@ -815,10 +815,6 @@ void
|
|||
focus(Client *c) {
|
||||
if(!c || !ISVISIBLE(c))
|
||||
for(c = selmon->stack; c && !ISVISIBLE(c); c = c->snext);
|
||||
if(c && c == selmon->sel) {
|
||||
D fprintf(stderr, "focus, optimising focus away\n");
|
||||
return;
|
||||
}
|
||||
if(selmon->sel)
|
||||
unfocus(selmon->sel);
|
||||
if(c) {
|
||||
|
|
Loading…
Reference in a new issue