aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/seat.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-24 18:49:47 +0100
committeremersion <contact@emersion.fr>2018-01-24 18:49:47 +0100
commit3f96427d0854ef38ee295724ebd36dcb74c0659c (patch)
treedcafc9e27ccd400a5ec7e6a0c78f2923c73d1f66 /include/rootston/seat.h
parent6281deb90fa6a97835d5045a8be610556ab588fe (diff)
parent2ad7df868097d557ed3cc41dfa60e0637f8a08e8 (diff)
Merge branch 'output-damage' of github.com:emersion/wlroots into output-damage
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