rootston: damage tracking for drag icons

This commit is contained in:
emersion 2018-01-23 13:37:58 +01:00
parent 415a2b7c56
commit 2ad7df8680
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
9 changed files with 142 additions and 31 deletions

View file

@ -58,6 +58,11 @@ static void roots_cursor_update_position(struct roots_cursor *cursor,
} else {
wlr_seat_pointer_clear_focus(seat->seat);
}
struct roots_drag_icon *drag_icon;
wl_list_for_each(drag_icon, &seat->drag_icons, link) {
roots_drag_icon_update_position(drag_icon);
}
break;
case ROOTS_CURSOR_MOVE:
view = roots_seat_get_focus(seat);