diff options
| author | Anselm R. Garbe <garbeam@gmail.com> | 2007-07-28 17:18:45 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-07-28 17:18:45 +0200 |
| commit | a54cf2ecef2ca83441dccd454c694b92bca42a16 (patch) | |
| tree | d793de29a6ceeafba2d0030c64a076d5dfd6ffa8 /event.c | |
| parent | removed shiftview(), if you scroll the views in the tag area, you can also us... (diff) | |
| download | dwm-a54cf2ecef2ca83441dccd454c694b92bca42a16.tar.gz dwm-a54cf2ecef2ca83441dccd454c694b92bca42a16.zip | |
changed ban/unban implementation to not move the windows anymore, but map/unmap them instead - PLEASE TEST THIS
Diffstat (limited to 'event.c')
| -rw-r--r-- | event.c | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -336,8 +336,10 @@ unmapnotify(XEvent *e) { | |||
| 336 | Client *c; | 336 | Client *c; |
| 337 | XUnmapEvent *ev = &e->xunmap; | 337 | XUnmapEvent *ev = &e->xunmap; |
| 338 | 338 | ||
| 339 | if((c = getclient(ev->window))) | 339 | if((c = getclient(ev->window)) && (ev->event == root)) { |
| 340 | unmanage(c); | 340 | if(ev->send_event || c->unmapped-- == 0) |
| 341 | unmanage(c); | ||
| 342 | } | ||
| 341 | } | 343 | } |
| 342 | 344 | ||
| 343 | /* extern */ | 345 | /* extern */ |
