aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/input.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-09-30 11:57:39 +0200
committeremersion <contact@emersion.fr>2017-09-30 11:57:39 +0200
commit33a97576ca3169b7771a0bd574383f5cf502f583 (patch)
treeec8c8afe448637a5a3c9130e6f4058fc555ecc50 /include/rootston/input.h
parent97679b8e12a5e508a51d7cb83b3c039b99e9901d (diff)
Add view_resize
Diffstat (limited to 'include/rootston/input.h')
-rw-r--r--include/rootston/input.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rootston/input.h b/include/rootston/input.h
index b4d6de65..cf4513e5 100644
--- a/include/rootston/input.h
+++ b/include/rootston/input.h
@@ -71,6 +71,7 @@ struct roots_input {
enum roots_cursor_mode mode;
struct roots_view *active_view;
int offs_x, offs_y;
+ uint32_t resize_edges;
// Ring buffer of input events that could trigger move/resize/rotate
int input_events_idx;
@@ -111,6 +112,6 @@ const struct roots_input_event *get_input_event(struct roots_input *input,
void view_begin_move(struct roots_input *input, struct wlr_cursor *cursor,
struct roots_view *view);
void view_begin_resize(struct roots_input *input, struct wlr_cursor *cursor,
- struct roots_view *view);
+ struct roots_view *view, uint32_t edges);
#endif