From 02231554c843e8903e45ff3a96c65a8c4f836cce Mon Sep 17 00:00:00 2001 From: emersion Date: Mon, 17 Sep 2018 22:16:07 +0200 Subject: backend/x11: add assertions --- include/backend/x11.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/backend') diff --git a/include/backend/x11.h b/include/backend/x11.h index f5557343..38aaad50 100644 --- a/include/backend/x11.h +++ b/include/backend/x11.h @@ -72,8 +72,10 @@ struct wlr_x11_backend { struct wl_listener display_destroy; }; -struct wlr_x11_output *get_x11_output_from_window_id(struct wlr_x11_backend *x11, - xcb_window_t window); +struct wlr_x11_backend *get_x11_backend_from_backend( + struct wlr_backend *wlr_backend); +struct wlr_x11_output *get_x11_output_from_window_id( + struct wlr_x11_backend *x11, xcb_window_t window); extern const struct wlr_keyboard_impl keyboard_impl; extern const struct wlr_pointer_impl pointer_impl; -- cgit v1.2.3