Merge pull request #2342 from RyanDwyer/update-cursor

Fix some cases where the cursor doesn't update
This commit is contained in:
emersion 2018-07-24 00:31:19 +01:00 committed by GitHub
commit 224ade1382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -726,6 +726,7 @@ static void handle_request_set_cursor(struct wl_listener *listener,
wlr_cursor_set_surface(cursor->cursor, event->surface, event->hotspot_x,
event->hotspot_y);
cursor->image = NULL;
cursor->image_client = focused_client;
}