comparison event.c @ 11:ea9c08ec4b48

added gridsel to gridwm
author Anselm R. Garbe <garbeam@wmii.de>
date Tue, 11 Jul 2006 13:21:57 +0200
parents 703255003abb
children 5cc5e55a132d
comparison
equal deleted inserted replaced
10:703255003abb 11:ea9c08ec4b48
79 } 79 }
80 80
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
94 enternotify(XEvent *e) 92 enternotify(XEvent *e)
95 { 93 {