rootston: keep one xcursor_theme per seat

This commit is contained in:
emersion 2017-11-11 23:53:45 +01:00
parent aaf0691883
commit 2dccb11741
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 15 additions and 11 deletions

View file

@ -44,7 +44,7 @@ static void roots_cursor_update_position(struct roots_cursor *cursor, uint32_t t
set_compositor_cursor = view_client != cursor->cursor_client;
}
if (set_compositor_cursor) {
roots_xcursor_theme_set_default(desktop->xcursor_theme,
roots_xcursor_theme_set_default(cursor->xcursor_theme,
cursor->cursor);
cursor->cursor_client = NULL;
}