diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-09-18 14:44:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-18 14:44:46 -0400 |
commit | 3693fae0c44d83cab2c701bd44b80d8f6242781e (patch) | |
tree | 407d120898ff0a4c64de9a2d180ad07bd0d67e36 /include/backend/x11.h | |
parent | 9288c827aaf4ae8acac7a105f223dc612822b76d (diff) | |
parent | 139a905924e9c6cd22613dfbbe73c4642c993e41 (diff) |
Merge pull request #1248 from emersion/assert-all-the-things
Assert all the things!
Diffstat (limited to 'include/backend/x11.h')
-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; |