diff options
| author | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-22 19:01:05 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-22 19:01:05 +0200 |
| commit | 36672d0401299a5230b516ca4575365d9f45dd35 (patch) | |
| tree | 3770848e8bec981cdc239d0e89b2a241f2bdfc67 /event.c | |
| parent | renamed char prop[] into buf[] (diff) | |
| download | dwm-36672d0401299a5230b516ca4575365d9f45dd35.tar.gz dwm-36672d0401299a5230b516ca4575365d9f45dd35.zip | |
removed the _DWM_PROPERTIES handling, reverted ban/unban to XMoveWindow(), and changed argument of setlayout to layout[N].symbol check
Diffstat (limited to 'event.c')
| -rw-r--r-- | event.c | 8 |
1 files changed, 3 insertions, 5 deletions
| @@ -221,7 +221,7 @@ destroynotify(XEvent *e) { | |||
| 221 | XDestroyWindowEvent *ev = &e->xdestroywindow; | 221 | XDestroyWindowEvent *ev = &e->xdestroywindow; |
| 222 | 222 | ||
| 223 | if((c = getclient(ev->window))) | 223 | if((c = getclient(ev->window))) |
| 224 | unmanage(c, WithdrawnState); | 224 | unmanage(c); |
| 225 | } | 225 | } |
| 226 | 226 | ||
| 227 | static void | 227 | static void |
| @@ -332,10 +332,8 @@ unmapnotify(XEvent *e) { | |||
| 332 | Client *c; | 332 | Client *c; |
| 333 | XUnmapEvent *ev = &e->xunmap; | 333 | XUnmapEvent *ev = &e->xunmap; |
| 334 | 334 | ||
| 335 | if((c = getclient(ev->window)) && (ev->event == root)) { | 335 | if((c = getclient(ev->window))) |
| 336 | if(ev->send_event || c->unmapped-- == 0) | 336 | unmanage(c); |
| 337 | unmanage(c, WithdrawnState); | ||
| 338 | } | ||
| 339 | } | 337 | } |
| 340 | 338 | ||
| 341 | /* extern */ | 339 | /* extern */ |
