aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-07-24 00:31:19 +0100
committerGitHub <noreply@github.com>2018-07-24 00:31:19 +0100
commit224ade138208e9aa525423cbfbd643aa9d9b63c3 (patch)
tree8fdb447dc0d11faa04073189d58459bc84592113 /sway
parente94fd0e6eb0ff65a37ec91ecd349e5a7aab755bb (diff)
parent0db6f2ef58fe81375219f9cc2e650661f6bd02ce (diff)
Merge pull request #2342 from RyanDwyer/update-cursor
Fix some cases where the cursor doesn't update
Diffstat (limited to 'sway')
-rw-r--r--sway/input/cursor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 771ad01d..65d04cac 100644
--- 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;
}