aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/seat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rootston/seat.h')
-rw-r--r--include/rootston/seat.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/rootston/seat.h b/include/rootston/seat.h
index f1061226..fa7d38df 100644
--- a/include/rootston/seat.h
+++ b/include/rootston/seat.h
@@ -46,6 +46,8 @@ struct roots_drag_icon {
struct wlr_drag_icon *wlr_drag_icon;
struct wl_list link;
+ double x, y;
+
struct wl_listener surface_commit;
struct wl_listener map;
struct wl_listener destroy;
@@ -103,6 +105,10 @@ void roots_seat_begin_resize(struct roots_seat *seat, struct roots_view *view,
void roots_seat_begin_rotate(struct roots_seat *seat, struct roots_view *view);
struct roots_seat_view *roots_seat_view_from_view( struct roots_seat *seat,
- struct roots_view *view);
+ struct roots_view *view);
+
+void roots_drag_icon_update_position(struct roots_drag_icon *icon);
+
+void roots_drag_icon_damage_whole(struct roots_drag_icon *icon);
#endif