JWM Source Documentation
event.h
Go to the documentation of this file.
1 
10 #ifndef EVENT_H
11 #define EVENT_H
12 
13 struct TimeType;
14 
15 typedef void (*SignalCallback)(const struct TimeType *now,
16  int x, int y,
17  Window w,
18  void *data);
19 
21 extern Time eventTime;
22 
26 char WaitForEvent(XEvent *event);
27 
31 void ProcessEvent(XEvent *event);
32 
34 void DiscardButtonEvents(void);
35 
40 void DiscardMotionEvents(XEvent *event, Window w);
41 
46 void DiscardKeyEvents(XEvent *event, Window w);
47 
51 void UpdateTime(const XEvent *event);
52 
58 void RegisterCallback(int freq, SignalCallback callback, void *data);
59 
64 void UnregisterCallback(SignalCallback callback, void *data);
65 
67 void RequireRestack();
68 
70 void RequireTaskUpdate();
71 
73 void RequirePagerUpdate();
74 
75 #endif /* EVENT_H */
76 

joewing.net / Projects / JWM