commit 224ade138208e9aa525423cbfbd643aa9d9b63c3
parent e94fd0e6eb0ff65a37ec91ecd349e5a7aab755bb
Author: emersion <contact@emersion.fr>
Date: Tue, 24 Jul 2018 00:31:19 +0100
Merge pull request #2342 from RyanDwyer/update-cursor
Fix some cases where the cursor doesn't update
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
@@ -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;
}