diff options
Diffstat (limited to '')
| -rw-r--r-- | event.c | 6 |
1 files changed, 2 insertions, 4 deletions
| @@ -81,13 +81,11 @@ configurerequest(XEvent *e) | |||
| 81 | static void | 81 | static void |
| 82 | destroynotify(XEvent *e) | 82 | destroynotify(XEvent *e) |
| 83 | { | 83 | { |
| 84 | #if 0 | ||
| 85 | Client *c; | 84 | Client *c; |
| 86 | XDestroyWindowEvent *ev = &e->xdestroywindow; | 85 | XDestroyWindowEvent *ev = &e->xdestroywindow; |
| 87 | 86 | ||
| 88 | if((c = client_of_win(ev->window))) | 87 | if((c = getclient(ev->window))) |
| 89 | destroy_client(c); | 88 | unmanage(c); |
| 90 | #endif | ||
| 91 | } | 89 | } |
| 92 | 90 | ||
| 93 | static void | 91 | static void |
