wmii/lib/libstuff/event/leavenotify.c
2010-06-14 10:30:23 -04:00

15 lines
294 B
C

/* Copyright ©2006-2010 Kris Maglione <maglione.k at Gmail>
* See LICENSE file for license details.
*/
#include "event.h"
void
event_leavenotify(XCrossingEvent *ev) {
Window *w;
if(!ev->send_event)
event_xtime = ev->time;
if((w = findwin(ev->window)))
event_handle(w, leave, ev);
}