fixed an issue in Peter's patch (it is no good idea to restack() all clients on enternotify()
635b6438
1 file(s) · +2 −1
| 648 | 648 | return; |
|
| 649 | 649 | if((c = getclient(ev->window))) { |
|
| 650 | 650 | focus(c); |
|
| 651 | - | restack(); |
|
| 651 | + | if(ISTILE && !c->isfloating) |
|
| 652 | + | restack(); |
|
| 652 | 653 | } |
|
| 653 | 654 | else if(ev->window == root) { |
|
| 654 | 655 | selscreen = True; |