diff options
Diffstat (limited to 'include/rootston/seat.h')
-rw-r--r-- | include/rootston/seat.h | 8 |
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 |