diff options
author | emersion <contact@emersion.fr> | 2017-11-17 12:45:07 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-11-17 12:45:07 +0100 |
commit | bb6d34e7a5e270c6998f95f45c1e518d9c053714 (patch) | |
tree | 4c3a34eb809203e76c63ac90239f6d07312cc0f5 /include/rootston/desktop.h | |
parent | 10f3be73843250c400531873b4dd27dba44919fd (diff) |
rootston: add per-seat views
Diffstat (limited to 'include/rootston/desktop.h')
-rw-r--r-- | include/rootston/desktop.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h index b809db43..12ab5898 100644 --- a/include/rootston/desktop.h +++ b/include/rootston/desktop.h @@ -23,7 +23,7 @@ struct roots_output { }; struct roots_desktop { - struct wlr_list *views; + struct wl_list views; // roots_view::link struct wl_list outputs; struct timespec last_frame; @@ -59,6 +59,7 @@ struct roots_desktop *desktop_create(struct roots_server *server, struct roots_config *config); void desktop_destroy(struct roots_desktop *desktop); +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); |