wmii

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

event.h (193B)


      1 #include <stuff/x.h>
      2 
      3 typedef void (*EventHandler)(XEvent*);
      4 
      5 #define handle(w, fn, ev) \
      6 	BLOCK(if((w)->handler->fn) (w)->handler->fn((w), ev))
      7 
      8 extern EventHandler event_handler[LASTEvent];
      9