Cursor movement shows cursor, therefore set visible state

This commit is contained in:
Toby Rea 2020-09-01 22:39:49 +01:00
parent f3c2e30114
commit e33eb5c2d9

View file

@ -105,6 +105,8 @@ process_cursor_motion(struct kiwmi_server *server, uint32_t time)
&sx, &sx,
&sy); &sy);
cursor->visible = true;
if (!layer) { if (!layer) {
struct kiwmi_view *view = view_at( struct kiwmi_view *view = view_at(
desktop, cursor->cursor->x, cursor->cursor->y, &surface, &sx, &sy); desktop, cursor->cursor->x, cursor->cursor->y, &surface, &sx, &sy);