wmii/lib/libstuff/event/destroynotify.c

13 lines
256 B
C
Raw Normal View History

2010-05-22 06:52:47 +04:00
/* Copyright ©2006-2010 Kris Maglione <maglione.k at Gmail>
* See LICENSE file for license details.
*/
#include "event.h"
void
event_destroynotify(XDestroyWindowEvent *ev) {
Window *w;
2010-06-14 18:30:23 +04:00
if((w = findwin(ev->window)))
2010-05-27 11:58:02 +04:00
event_handle(w, destroy, ev);
2010-05-22 06:52:47 +04:00
}