Woraround possible broken cursor when creating mouse interception window
The xcb_cursor_t returned by xcb-cursor library might be broken. If we set such a broken cursor directly in the create window call it will fail with a BadCursor value causing effects to break. This change works around this problem by creating just the window and moving the possible breaking call into a change window call. That will still fail, but the window is working. In addition it performs a safety check by only installing the cursor if it's not XCB_CURSOR_NONE. BUG: 344006 REVIEW: 123025
parent
3aa4c8d6
Please register or sign in to comment