diff options
| author | Anselm R Garbe <anselm@garbe.us> | 2010-04-01 19:39:24 +0100 |
|---|---|---|
| committer | Anselm R Garbe <anselm@garbe.us> | 2010-04-01 19:39:24 +0100 |
| commit | a88e0373efe5f6800a99fca2c228be98b522aaa9 (patch) | |
| tree | 3a84e737682bce86f5378dbb429a8e5ca7f17a29 /dwm.c | |
| parent | more debug output, experimental focus optimisation (diff) | |
| download | dwm-a88e0373efe5f6800a99fca2c228be98b522aaa9.tar.gz dwm-a88e0373efe5f6800a99fca2c228be98b522aaa9.zip | |
selmon optimisation is needed
Diffstat (limited to 'dwm.c')
| -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) { |
