mirror of
https://github.com/debauchee/barrier.git
synced 2026-06-27 23:46:16 +08:00
Added missing event mask.
This commit is contained in:
@@ -319,7 +319,7 @@ void CXWindowsSecondaryScreen::onOpenDisplay()
|
|||||||
// as the cursor enters the screen or the display's real cursor is
|
// as the cursor enters the screen or the display's real cursor is
|
||||||
// moved.
|
// moved.
|
||||||
XSetWindowAttributes attr;
|
XSetWindowAttributes attr;
|
||||||
attr.event_mask = LeaveWindowMask;
|
attr.event_mask = LeaveWindowMask | PropertyChangeMask;
|
||||||
attr.do_not_propagate_mask = 0;
|
attr.do_not_propagate_mask = 0;
|
||||||
attr.override_redirect = True;
|
attr.override_redirect = True;
|
||||||
attr.cursor = createBlankCursor();
|
attr.cursor = createBlankCursor();
|
||||||
|
|||||||
Reference in New Issue
Block a user