aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/seat.h
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-01-23 18:05:41 -0500
committerGitHub <noreply@github.com>2018-01-23 18:05:41 -0500
commitc09c2dfbc4a33aed90bf4c033a2a75e8a0cecb64 (patch)
treecb6279425d64e395590753fec23aae948ef91b8b /include/rootston/seat.h
parent03440bbd83b5d68404db8ebc2df310ec0f8c9b32 (diff)
parenta4d601e3d6d6600bc4c26697d282616537ef9b02 (diff)
Merge pull request #570 from acrisci/decorations
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..966d98e5 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_sx;
+ double grab_sy;
+
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