diff options
author | emersion <contact@emersion.fr> | 2017-11-20 14:35:31 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-11-20 14:35:31 +0100 |
commit | 1d08d317096a80f96d03cd67303381bdedaaac2a (patch) | |
tree | 0c2115f562fe6b5f6a609b561a05dbb9dddda10c /include/rootston/desktop.h | |
parent | 272e0858e49bf341b363fdbe59a5f669ba678ce2 (diff) | |
parent | c3e0fbdb8f0cb16d99e70d14bb5cef6bd48d4591 (diff) |
Merge branch 'master' into laggy-move-resize
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 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); |