aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-07-24 00:31:19 +0100
committerLibravatar GitHub <noreply@github.com>2018-07-24 00:31:19 +0100
commit224ade138208e9aa525423cbfbd643aa9d9b63c3 (patch)
tree8fdb447dc0d11faa04073189d58459bc84592113 /sway/input/cursor.c
parentMerge pull request #2341 from RedSoxFan/fix-2339 (diff)
parentFix some cases where the cursor doesn't update (diff)
downloadsway-224ade138208e9aa525423cbfbd643aa9d9b63c3.tar.gz
sway-224ade138208e9aa525423cbfbd643aa9d9b63c3.tar.zst
sway-224ade138208e9aa525423cbfbd643aa9d9b63c3.zip
Merge pull request #2342 from RyanDwyer/update-cursor
Fix some cases where the cursor doesn't update
Diffstat (limited to 'sway/input/cursor.c')
-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,
726 726
727 wlr_cursor_set_surface(cursor->cursor, event->surface, event->hotspot_x, 727 wlr_cursor_set_surface(cursor->cursor, event->surface, event->hotspot_x,
728 event->hotspot_y); 728 event->hotspot_y);
729 cursor->image = NULL;
729 cursor->image_client = focused_client; 730 cursor->image_client = focused_client;
730} 731}
731 732