X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/6458d72572a30d2cc4af3385755033b2cca93057..82384e385ee19fc553148f7aa73fafdcbe40461b:/event.c?ds=sidebyside diff --git a/event.c b/event.c index 4edf139..b027a3e 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) {