aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/noop.h24
-rw-r--r--include/backend/wayland.h6
2 files changed, 27 insertions, 3 deletions
diff --git a/include/backend/noop.h b/include/backend/noop.h
new file mode 100644
index 00000000..4198baad
--- /dev/null
+++ b/include/backend/noop.h
@@ -0,0 +1,24 @@
+#ifndef BACKEND_NOOP_H
+#define BACKEND_NOOP_H
+
+#include <wlr/backend/noop.h>
+#include <wlr/backend/interface.h>
+
+struct wlr_noop_backend {
+ struct wlr_backend backend;
+ struct wl_display *display;
+ struct wl_list outputs;
+ bool started;
+};
+
+struct wlr_noop_output {
+ struct wlr_output wlr_output;
+
+ struct wlr_noop_backend *backend;
+ struct wl_list link;
+};
+
+struct wlr_noop_backend *noop_backend_from_backend(
+ struct wlr_backend *wlr_backend);
+
+#endif
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index dbc309ca..c41d560a 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -30,7 +30,7 @@ struct wlr_wl_backend {
struct wl_event_source *remote_display_src;
struct wl_registry *registry;
struct wl_compositor *compositor;
- struct zxdg_shell_v6 *shell;
+ struct xdg_wm_base *xdg_wm_base;
struct wl_shm *shm;
struct wl_seat *seat;
struct wl_pointer *pointer;
@@ -47,8 +47,8 @@ struct wlr_wl_output {
struct wl_surface *surface;
struct wl_callback *frame_callback;
- struct zxdg_surface_v6 *xdg_surface;
- struct zxdg_toplevel_v6 *xdg_toplevel;
+ struct xdg_surface *xdg_surface;
+ struct xdg_toplevel *xdg_toplevel;
struct wl_egl_window *egl_window;
EGLSurface egl_surface;