dwm-meillo

diff event.c @ 63:f14858218641

searching for a better way to discard enter notifies
author Anselm R. Garbe <garbeam@wmii.de>
date Fri, 14 Jul 2006 13:03:53 +0200
parents 1269bd127551
children e5fff8249705
line diff
     1.1 --- a/event.c	Fri Jul 14 12:11:24 2006 +0200
     1.2 +++ b/event.c	Fri Jul 14 13:03:53 2006 +0200
     1.3 @@ -4,6 +4,7 @@
     1.4   */
     1.5  
     1.6  #include <fcntl.h>
     1.7 +#include <stdio.h>
     1.8  #include <stdlib.h>
     1.9  #include <string.h>
    1.10  #include <X11/keysym.h>
    1.11 @@ -37,13 +38,6 @@
    1.12  	[UnmapNotify] = unmapnotify
    1.13  };
    1.14  
    1.15 -void
    1.16 -discard_events(long even_mask)
    1.17 -{
    1.18 -	XEvent ev;
    1.19 -	while(XCheckMaskEvent(dpy, even_mask, &ev));
    1.20 -}
    1.21 -
    1.22  static void
    1.23  buttonpress(XEvent *e)
    1.24  {