1 #ifndef BCWINDOWEVENTS_H
2 #define BCWINDOWEVENTS_H
4 // Thread running parallel to run_window which listens for X server events
5 // only. Hopefully, having it as the only thing calling the X server without
6 // locks won't crash. Previously, events were dispatched from BC_Repeater
7 // asynchronous to the events recieved by XNextEvent. BC_Repeater tended to
8 // lock up for no reason.
11 #include "bcwindowbase.inc"
16 class BC_WindowEvents
: public Thread
19 BC_WindowEvents(BC_WindowBase
*window
);
23 BC_WindowBase
*window
;
34 // c-file-style: "linux"