cursor-renderer: Popups need to set cursors, too
Popups could not set the cursor image, because the cursor tracker would ignore window cursors if we had a popup active. The correct condition to check for is already in should_block_wayland. Rename this to the more sensible name windows_are_interactable, and use it in the cursor tracker.
This commit is contained in:
@ -61,7 +61,7 @@ get_displayed_cursor (MetaCursorTracker *tracker)
|
||||
if (!tracker->is_showing)
|
||||
return NULL;
|
||||
|
||||
if (display->grab_op == META_GRAB_OP_NONE)
|
||||
if (meta_grab_op_windows_are_interactable (display->grab_op))
|
||||
{
|
||||
if (tracker->has_window_cursor)
|
||||
return tracker->window_cursor;
|
||||
|
Reference in New Issue
Block a user