diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-03-17 10:00:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-17 10:00:54 -0400 |
commit | 09413aa7f1eab176c12675217a17ebe367fa7d8f (patch) | |
tree | d97059ac24cefd144db7c7789461106a1f70b9c5 /include/rootston/desktop.h | |
parent | 9cc875429b40e2567b219f8e9ffd23316d136204 (diff) | |
parent | 303883ce49b81438c8653991f40e72b0481e27cf (diff) |
Merge pull request #711 from emersion/map-unmap
Add map/unmap to xdg-shell
Diffstat (limited to 'include/rootston/desktop.h')
-rw-r--r-- | include/rootston/desktop.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h index db8a088e..5986c96f 100644 --- a/include/rootston/desktop.h +++ b/include/rootston/desktop.h @@ -73,14 +73,16 @@ struct roots_output *desktop_output_from_wlr_output( struct roots_view *desktop_view_at(struct roots_desktop *desktop, double lx, double ly, struct wlr_surface **surface, double *sx, double *sy); -void view_init(struct roots_view *view, struct roots_desktop *desktop); -void view_finish(struct roots_view *view); +struct roots_view *view_create(struct roots_desktop *desktop); +void view_destroy(struct roots_view *view); void view_activate(struct roots_view *view, bool activate); void view_apply_damage(struct roots_view *view); void view_damage_whole(struct roots_view *view); void view_update_position(struct roots_view *view, double x, double y); void view_update_size(struct roots_view *view, uint32_t width, uint32_t height); void view_initial_focus(struct roots_view *view); +void view_map(struct roots_view *view, struct wlr_surface *surface); +void view_unmap(struct roots_view *view); void handle_xdg_shell_v6_surface(struct wl_listener *listener, void *data); void handle_xdg_shell_surface(struct wl_listener *listener, void *data); |