aboutsummaryrefslogtreecommitdiff
path: root/rootston/cursor.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-23 13:37:58 +0100
committeremersion <contact@emersion.fr>2018-01-23 20:01:40 +0100
commit2ad7df868097d557ed3cc41dfa60e0637f8a08e8 (patch)
tree783b97e6793e7ed1d88f786b582a45492b3b6bee /rootston/cursor.c
parent415a2b7c569457ebf85d7ae066cc19bee196d22e (diff)
rootston: damage tracking for drag icons
Diffstat (limited to 'rootston/cursor.c')
-rw-r--r--rootston/cursor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/rootston/cursor.c b/rootston/cursor.c
index 8bd514cc..824cd917 100644
--- a/rootston/cursor.c
+++ b/rootston/cursor.c
@@ -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);