mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-04 19:06:45 +08:00
removed getEventMask() from primary screen. added a class to
CXWindowsUtil that installs/uninstalls an X error hander. using that in primary screen, clipboard, and util to ensure that certain errors don't kill the app.
This commit is contained in:
@@ -34,10 +34,10 @@ protected:
|
||||
createClipboard(ClipboardID);
|
||||
virtual void onCloseDisplay();
|
||||
virtual void onLostClipboard(ClipboardID);
|
||||
virtual long getEventMask(Window) const;
|
||||
|
||||
private:
|
||||
void selectEvents(Display*, Window) const;
|
||||
void doSelectEvents(Display*, Window) const;
|
||||
void warpCursorNoLock(Display*,
|
||||
SInt32 xAbsolute, SInt32 yAbsolute);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user