aboutsummaryrefslogtreecommitdiff
path: root/include/rootston/desktop.h
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-20 06:25:00 -0500
committerGitHub <noreply@github.com>2017-11-20 06:25:00 -0500
commit083fe4506b9a57353fdee36ad05252742cc6429f (patch)
tree0fca8bfca5123cc60ce99e2cf3d6746a5cc7f20c /include/rootston/desktop.h
parente0bdc16a10449d3bdf4517b5a85a9d55085d97c7 (diff)
parent0191f3f711b642aa496204e770eaa0dc1914f26d (diff)
Merge pull request #427 from emersion/seat-views
rootston: add per-seat views
Diffstat (limited to 'include/rootston/desktop.h')
-rw-r--r--include/rootston/desktop.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h
index 10e5bbc6..c245eb09 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;
@@ -60,6 +60,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);