aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/view.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/view.h
parent97679b8e12a5e508a51d7cb83b3c039b99e9901d (diff)
Add view_resize
Diffstat (limited to 'include/rootston/view.h')
-rw-r--r--include/rootston/view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rootston/view.h b/include/rootston/view.h
index 2bd71104..d690fd48 100644
--- a/include/rootston/view.h
+++ b/include/rootston/view.h
@@ -63,9 +63,11 @@ struct roots_view {
// elsewhere
void (*get_input_bounds)(struct roots_view *view, struct wlr_box *box);
void (*activate)(struct roots_view *view, bool active);
+ void (*resize)(struct roots_view *view, uint32_t width, uint32_t height);
};
void view_get_input_bounds(struct roots_view *view, struct wlr_box *box);
void view_activate(struct roots_view *view, bool active);
+void view_resize(struct roots_view *view, uint32_t width, uint32_t height);
#endif