wmii/lib/libstuff/event/mapnotify.c

17 lines
370 B
C
Raw Permalink 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_mapnotify(XMapEvent *ev) {
Window *w;
if(!ev->send_event)
event_lastconfigure = ev->serial;
if((w = findwin(ev->event)))
2010-05-27 11:58:02 +04:00
event_handle(w, map, ev);
if(ev->send_event && (w = findwin(ev->event)))
event_handle(w, map, ev);
2010-05-22 06:52:47 +04:00
}