diff options
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 0 insertions, 4 deletions
| @@ -815,10 +815,6 @@ void | |||
| 815 | focus(Client *c) { | 815 | focus(Client *c) { |
| 816 | if(!c || !ISVISIBLE(c)) | 816 | if(!c || !ISVISIBLE(c)) |
| 817 | for(c = selmon->stack; c && !ISVISIBLE(c); c = c->snext); | 817 | for(c = selmon->stack; c && !ISVISIBLE(c); c = c->snext); |
| 818 | if(c && c == selmon->sel) { | ||
| 819 | D fprintf(stderr, "focus, optimising focus away\n"); | ||
| 820 | return; | ||
| 821 | } | ||
| 822 | if(selmon->sel) | 818 | if(selmon->sel) |
| 823 | unfocus(selmon->sel); | 819 | unfocus(selmon->sel); |
| 824 | if(c) { | 820 | if(c) { |
