diff options
Diffstat (limited to 'src/input.c')
-rw-r--r-- | src/input.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c index 5e82f5dd..530904d6 100644 --- a/src/input.c +++ b/src/input.c @@ -1665,8 +1665,10 @@ pointer_set_cursor(struct wl_client *client, struct wl_resource *resource, pointer->hotspot_x = x; pointer->hotspot_y = y; - if (surface->buffer_ref.buffer) + if (surface->buffer_ref.buffer) { pointer_cursor_surface_configure(surface, 0, 0); + weston_view_schedule_repaint(pointer->sprite); + } } static void |