wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

enternotify.c (335B)


      1 /* Copyright ©2006-2010 Kris Maglione <maglione.k at Gmail>
      2  * See LICENSE file for license details.
      3  */
      4 #include "event.h"
      5 
      6 void
      7 event_enternotify(XCrossingEvent *ev) {
      8 	Window *w;
      9 
     10 	if(!ev->send_event)
     11 		event_xtime = ev->time;
     12 	if(ev->mode != NotifyNormal)
     13 		return;
     14 
     15 	if((w = findwin(ev->window)))
     16 		event_handle(w, enter, ev);
     17 }