Mercurial > aewl
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 wrap: on
line diff
--- a/event.c Fri Jul 14 12:11:24 2006 +0200 +++ b/event.c Fri Jul 14 13:03:53 2006 +0200 @@ -4,6 +4,7 @@ */ #include <fcntl.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> #include <X11/keysym.h> @@ -37,13 +38,6 @@ [UnmapNotify] = unmapnotify }; -void -discard_events(long even_mask) -{ - XEvent ev; - while(XCheckMaskEvent(dpy, even_mask, &ev)); -} - static void buttonpress(XEvent *e) {