backend/x11: add assertions

This commit is contained in:
emersion 2018-09-17 22:16:07 +02:00
parent e98cb7c5ab
commit 02231554c8
3 changed files with 40 additions and 20 deletions

View file

@ -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;