diff options
author | emersion <contact@emersion.fr> | 2018-07-27 19:16:36 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-07-29 14:33:26 +0100 |
commit | 8d5cc8625ce04c657eab6bd5f242a02e97ddd647 (patch) | |
tree | cf6ce6cf223a508361139b223fe72d4fe2c79065 /include/sway | |
parent | e9d674cfd294f13a32893dd584826ed7481e05e3 (diff) | |
download | sway-8d5cc8625ce04c657eab6bd5f242a02e97ddd647.tar.xz |
Completely switch over to new iterators
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/output.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/sway/output.h b/include/sway/output.h index 7a458a84..70f631a0 100644 --- a/include/sway/output.h +++ b/include/sway/output.h @@ -39,16 +39,6 @@ struct sway_output { } events; }; -/** - * Contains a surface's root geometry information. For instance, when rendering - * a popup, this will contain the parent view's position and size. - */ -struct root_geometry { - double x, y; - int width, height; - float rotation; -}; - typedef void (*sway_surface_iterator_func_t)(struct sway_output *output, struct wlr_surface *surface, struct wlr_box *box, float rotation, void *user_data); @@ -77,14 +67,6 @@ struct sway_container *output_get_active_workspace(struct sway_output *output); void output_render(struct sway_output *output, struct timespec *when, pixman_region32_t *damage); -bool output_get_surface_box(struct root_geometry *geo, - struct sway_output *output, struct wlr_surface *surface, int sx, int sy, - struct wlr_box *surface_box); - -void output_surface_for_each_surface(struct wlr_surface *surface, - double ox, double oy, struct root_geometry *geo, - wlr_surface_iterator_func_t iterator, void *user_data); - void output_surface_for_each_surface2(struct sway_output *output, struct wlr_surface *surface, double ox, double oy, float rotation, sway_surface_iterator_func_t iterator, void *user_data); |