Merge pull request #243 from acrisci/feature/input-bounds

Use wl_surface input bounds for input handling
This commit is contained in:
Drew DeVault 2017-10-08 12:52:53 -04:00 committed by GitHub
commit 82a6598ca7
3 changed files with 33 additions and 36 deletions

View file

@ -71,14 +71,12 @@ struct roots_view {
// If not then this should follow the typical type/impl pattern we use
// elsewhere
void (*get_size)(struct roots_view *view, struct wlr_box *box);
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 (*close)(struct roots_view *view);
};
void view_get_size(struct roots_view *view, struct wlr_box *box);
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);
void view_close(struct roots_view *view);