aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/output.h5
-rw-r--r--include/rootston/seat.h8
2 files changed, 12 insertions, 1 deletions
diff --git a/include/rootston/output.h b/include/rootston/output.h
index 89fe1d82..81f20788 100644
--- a/include/rootston/output.h
+++ b/include/rootston/output.h
@@ -37,9 +37,14 @@ struct roots_output {
void output_add_notify(struct wl_listener *listener, void *data);
void output_remove_notify(struct wl_listener *listener, void *data);
+struct roots_view;
+struct roots_drag_icon;
+
void output_damage_whole_view(struct roots_output *output,
struct roots_view *view);
void output_damage_from_view(struct roots_output *output,
struct roots_view *view);
+void output_damage_whole_drag_icon(struct roots_output *output,
+ struct roots_drag_icon *icon);
#endif
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