mirror of
https://github.com/0intro/wmii
synced 2024-11-25 23:30:24 +03:00
18 lines
336 B
C
18 lines
336 B
C
/* Copyright ©2006-2010 Kris Maglione <maglione.k at Gmail>
|
|
* See LICENSE file for license details.
|
|
*/
|
|
#include "event.h"
|
|
|
|
void
|
|
event_enternotify(XCrossingEvent *ev) {
|
|
Window *w;
|
|
|
|
if(!ev->send_event)
|
|
event_xtime = ev->time;
|
|
if(ev->mode != NotifyNormal)
|
|
return;
|
|
|
|
if((w = findwin(ev->window)))
|
|
event_handle(w, enter, ev);
|
|
}
|