diff options
author | emersion <contact@emersion.fr> | 2017-11-21 10:37:53 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-11-21 10:37:53 +0100 |
commit | 9a6f799d8f72c1dcd24e22749d43eb2ed54681c6 (patch) | |
tree | 1c159bc5054a72063d0bdf057b1947d9041092ff /include | |
parent | 9e29621ec32f6142f482780c764e6e93af31b806 (diff) |
Add fullscreen command, fix view_at with fullscreen views
Diffstat (limited to 'include')
-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 8bf1f6eb..e5c5f806 100644 --- a/include/rootston/desktop.h +++ b/include/rootston/desktop.h @@ -60,11 +60,13 @@ struct roots_server; struct roots_desktop *desktop_create(struct roots_server *server, struct roots_config *config); void desktop_destroy(struct roots_desktop *desktop); +struct roots_output *desktop_output_from_wlr_output( + struct roots_desktop *desktop, struct wlr_output *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_destroy(struct roots_view *view); -struct roots_view *view_at(struct roots_desktop *desktop, double lx, double ly, - struct wlr_surface **surface, double *sx, double *sy); void view_activate(struct roots_view *view, bool activate); void output_add_notify(struct wl_listener *listener, void *data); |