- commit
- a29b5f103d590af64abf85a963cb74ba80fb56c8
- parent
- b22c67e96bd9bad0b5a976926cf463131bb655de
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2019-10-13 06:27
rm destroynoify
Diffstat
| M | xiwm.c | 12 | ------------ |
1 files changed, 0 insertions, 12 deletions
diff --git a/xiwm.c b/xiwm.c
@@ -87,7 +87,6 @@ static void spawn(const Arg *arg); 87 87 static void keypress(XEvent *e); 88 88 static void buttonpress(XEvent *e); 89 89 static void clientmessage(XEvent *e);90 -1 static void destroynotify(XEvent *e);91 90 static void unmapnotify(XEvent *e); 92 91 static void configurerequest(XEvent *e); 93 92 static void maprequest(XEvent *e); @@ -104,7 +103,6 @@ static void (*handler[LASTEvent]) (XEvent *) = { 104 103 [KeyPress] = keypress, 105 104 [ButtonPress] = buttonpress, 106 105 [ClientMessage] = clientmessage,107 -1 [DestroyNotify] = destroynotify,108 106 [UnmapNotify] = unmapnotify, 109 107 [MapRequest] = maprequest, 110 108 [ConfigureRequest] = configurerequest, @@ -656,16 +654,6 @@ clientmessage(XEvent *e) 656 654 } 657 655 658 656 void659 -1 destroynotify(XEvent *e)660 -1 {661 -1 Client *c;662 -1 XDestroyWindowEvent *ev = &e->xdestroywindow;663 -1664 -1 if ((c = wintoclient(ev->window)))665 -1 unmanage(c, True);666 -1 }667 -1668 -1 void669 657 unmapnotify(XEvent *e) 670 658 { 671 659 Client *c;