about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
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 @@
  */
 
 #include <fcntl.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <X11/keysym.h>
@@ -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)
 {
breaks bootstrapping and lots of code' href='/ahoang/Nim/commit/compiler/saturate.nim?h=devel&id=4fbba0a65ad310ba9498f1cf9f79eb0826b19f81'>4fbba0a65 ^
92b8fac94 ^
4fbba0a65 ^





92b8fac94 ^
4fbba0a65 ^








92b8fac94 ^
4fbba0a65 ^




92b8fac94 ^
4fbba0a65 ^
























1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79