From a1d0f819661f2be48f7a03ddd001f2a1a8f325e4 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Fri, 14 Jul 2006 13:03:53 +0200 Subject: searching for a better way to discard enter notifies --- event.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'event.c') diff --git a/event.c b/event.c index 4edf1390..b027a3ee 100644 --- a/event.c +++ b/event.c @@ -4,6 +4,7 @@ */ #include +#include #include #include #include @@ -37,13 +38,6 @@ void (*handler[LASTEvent]) (XEvent *) = { [UnmapNotify] = unmapnotify }; -void -discard_events(long even_mask) -{ - XEvent ev; - while(XCheckMaskEvent(dpy, even_mask, &ev)); -} - static void buttonpress(XEvent *e) { -- cgit v1.2.3