mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-28 22:07:49 +02:00
patch: for "old" unix, fixed compile problems (missing xi2 stuff), and refactored header tests (thanks to Jim Hague)
This commit is contained in:
parent
fb377bbc78
commit
6dcefaf353
4 changed files with 112 additions and 98 deletions
|
@ -137,13 +137,15 @@ private:
|
|||
bool onHotKey(XKeyEvent&, bool isRepeat);
|
||||
void onMousePress(const XButtonEvent&);
|
||||
void onMouseRelease(const XButtonEvent&);
|
||||
void onMouseMove(const XMotionEvent&);
|
||||
|
||||
bool detectXI2();
|
||||
void selectXIRawMotion();
|
||||
void selectEvents(Window) const;
|
||||
void doSelectEvents(Window) const;
|
||||
|
||||
void onMouseMove(const XMotionEvent&);
|
||||
|
||||
bool detectXI2();
|
||||
#ifdef HAVE_XI2
|
||||
void selectXIRawMotion();
|
||||
#endif
|
||||
void selectEvents(Window) const;
|
||||
void doSelectEvents(Window) const;
|
||||
|
||||
KeyID mapKeyFromX(XKeyEvent*) const;
|
||||
ButtonID mapButtonFromX(const XButtonEvent*) const;
|
||||
unsigned int mapButtonToX(ButtonID id) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue