all repos — openbox @ f29dd7e0cd0ceef0bfe95c865b6b22d34b065b7b

openbox fork - make it a bit more like ryudo

openbox/event.h (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __events_h
#define __events_h

#include <X11/Xlib.h>

/*! Time at which the last event with a timestamp occured. */
extern Time event_lasttime;
/*! Time at which the last event with a timestamp occured before we tried to
  unfocus a window. */
extern Time event_unfocustime;

/*! The value of the mask for the NumLock modifier */
extern unsigned int NumLockMask;
/*! The value of the mask for the ScrollLock modifier */
extern unsigned int ScrollLockMask;

void event_startup();
void event_shutdown();

void event_loop();

#endif