Fix cursor visibility on surface commit

This commit is contained in:
ixru 2018-10-07 21:26:38 +02:00
parent fb5572db5a
commit 6a9995d18c

View file

@ -874,6 +874,7 @@ static void output_cursor_handle_commit(struct wl_listener *listener,
struct wlr_output_cursor *cursor = struct wlr_output_cursor *cursor =
wl_container_of(listener, cursor, surface_commit); wl_container_of(listener, cursor, surface_commit);
output_cursor_commit(cursor, true); output_cursor_commit(cursor, true);
output_cursor_update_visible(cursor);
} }
static void output_cursor_handle_destroy(struct wl_listener *listener, static void output_cursor_handle_destroy(struct wl_listener *listener,