aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/seat.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-24 14:48:01 +0100
committeremersion <contact@emersion.fr>2018-01-24 14:48:01 +0100
commit6281deb90fa6a97835d5045a8be610556ab588fe (patch)
treeb29d32c44a9a035fbf70e4cdb3dc964a4d3f1507 /include/rootston/seat.h
parent4d282c859099321b1e799a2ab344480f186359ef (diff)
parent7a2e9a17bae919088f4265961ad8d00fece7b870 (diff)
Merge remote-tracking branch 'upstream/master' into output-damage
Diffstat (limited to 'include/rootston/seat.h')
-rw-r--r--include/rootston/seat.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rootston/seat.h b/include/rootston/seat.h
index c71f7de0..f1061226 100644
--- a/include/rootston/seat.h
+++ b/include/rootston/seat.h
@@ -31,6 +31,11 @@ struct roots_seat {
struct roots_seat_view {
struct roots_seat *seat;
struct roots_view *view;
+
+ bool has_button_grab;
+ double grab_sx;
+ double grab_sy;
+
struct wl_list link; // roots_seat::views
struct wl_listener view_destroy;
@@ -97,4 +102,7 @@ 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);
+
#endif