diff options
author | emersion <contact@emersion.fr> | 2018-09-17 22:16:07 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-09-18 11:06:01 +0200 |
commit | 02231554c843e8903e45ff3a96c65a8c4f836cce (patch) | |
tree | d0e793759eef05ffcfdc3faa94fb11ee6559905c /include | |
parent | e98cb7c5ab8916d4c401da8d1b121a9a90419304 (diff) |
backend/x11: add assertions
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/x11.h | 6 |
1 files changed, 4 insertions, 2 deletions
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; |