summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-14 13:03:53 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-14 13:03:53 +0200
commita1d0f819661f2be48f7a03ddd001f2a1a8f325e4 (patch)
tree94fb44049473e55b93f1d5b6baedd561c4c83a50 /event.c
parentfocus on view change as well (diff)
downloaddwm-a1d0f819661f2be48f7a03ddd001f2a1a8f325e4.tar.gz
dwm-a1d0f819661f2be48f7a03ddd001f2a1a8f325e4.zip
searching for a better way to discard enter notifies
Diffstat (limited to 'event.c')
-rw-r--r--event.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/event.c b/event.c
index 4edf139..b027a3e 100644
--- a/event.c
+++ b/event.c
@@ -4,6 +4,7 @@
4 */ 4 */
5 5
6#include <fcntl.h> 6#include <fcntl.h>
7#include <stdio.h>
7#include <stdlib.h> 8#include <stdlib.h>
8#include <string.h> 9#include <string.h>
9#include <X11/keysym.h> 10#include <X11/keysym.h>
@@ -37,13 +38,6 @@ void (*handler[LASTEvent]) (XEvent *) = {
37 [UnmapNotify] = unmapnotify 38 [UnmapNotify] = unmapnotify
38}; 39};
39 40
40void
41discard_events(long even_mask)
42{
43 XEvent ev;
44 while(XCheckMaskEvent(dpy, even_mask, &ev));
45}
46
47static void 41static void
48buttonpress(XEvent *e) 42buttonpress(XEvent *e)
49{ 43{