aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/seat.h
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-01-16 19:04:26 -0500
committerTony Crisci <tony@dubstepdish.com>2018-01-16 19:04:26 -0500
commit61bd79200cc3892b143b7321886db77e97c9f69f (patch)
tree15befd4b818a8893235604c88ba2a36b8e5ba08f /include/rootston/seat.h
parent3751a1732158546c4fbc203aa34fc4a4a68f1016 (diff)
basic decorations
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 cf5dd3b2..6ae7c3fa 100644
--- a/include/rootston/seat.h
+++ b/include/rootston/seat.h
@@ -28,6 +28,11 @@ struct roots_seat {
struct roots_seat_view {
struct roots_seat *seat;
struct roots_view *view;
+
+ bool has_button_grab;
+ double grab_vx;
+ double grab_vy;
+
struct wl_list link; // roots_seat::views
struct wl_listener view_destroy;
@@ -84,4 +89,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