From 50ce35e9da4e2604b0adb15703cfcd87204472e5 Mon Sep 17 00:00:00 2001 From: nyorain Date: Tue, 20 Jun 2017 18:27:05 +0200 Subject: Implement wayland backend output --- include/backend/wayland.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/backend/wayland.h') diff --git a/include/backend/wayland.h b/include/backend/wayland.h index 4cad565d..d2f1fb1d 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -23,6 +23,8 @@ struct wlr_backend_state { struct wlr_backend *backend; list_t *devices; + struct wl_event_source* remote_display_src; + size_t num_outputs; struct wlr_output **outputs; struct wlr_egl egl; @@ -30,10 +32,14 @@ struct wlr_backend_state { struct wlr_output_state { size_t id; + unsigned int width; + unsigned int height; + struct wlr_backend_state *backend; struct wlr_output *output; struct wl_surface *surface; struct wl_shell_surface *shell_surface; struct wl_egl_window* egl_window; + struct wl_callback* frame_callback; void* egl_surface; }; -- cgit v1.2.3