aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-08-12 01:16:12 +0200
committerDominique Martinet <asmadeus@codewreck.org>2017-08-12 01:16:12 +0200
commit8427749dd06b52bd8e53539f264a784beca9bb6f (patch)
tree38742a47592963fdb79a1c753eaa6cd951f31930 /include/backend
parentc323bfc6a0016076e3a27a639da23f6c176c68fa (diff)
wayland backend: emit signal for input/output removal
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/wayland.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index e6339a23..1ce4e135 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -33,13 +33,14 @@ struct wlr_output_state {
struct wlr_output *wlr_output;
struct wl_surface *surface;
struct wl_shell_surface *shell_surface;
- struct wl_egl_window* egl_window;
- struct wl_callback* frame_callback;
+ struct wl_egl_window *egl_window;
+ struct wl_callback *frame_callback;
void *egl_surface;
};
struct wlr_input_device_state {
- struct wlr_backend_state* backend;
+ struct wlr_backend_state *backend;
+ struct wlr_input_device *wlr_device;
void *resource;
};