diff --git a/include/libweston/libweston.h b/include/libweston/libweston.h index 2af7e32a..a6ae591b 100644 --- a/include/libweston/libweston.h +++ b/include/libweston/libweston.h @@ -1627,6 +1627,11 @@ weston_compositor_add_key_binding(struct weston_compositor *compositor, enum weston_keyboard_modifier modifier, weston_key_binding_handler_t binding, void *data); +struct weston_binding * +weston_compositor_add_debug_binding(struct weston_compositor *compositor, + uint32_t key, + weston_key_binding_handler_t binding, + void *data); typedef void (*weston_modifier_binding_handler_t)(struct weston_keyboard *keyboard, enum weston_keyboard_modifier modifier, diff --git a/libweston/libweston-internal.h b/libweston/libweston-internal.h index 69b3e2ec..8d40740c 100644 --- a/libweston/libweston-internal.h +++ b/libweston/libweston-internal.h @@ -79,11 +79,6 @@ weston_compositor_add_head(struct weston_compositor *compositor, void weston_compositor_add_pending_output(struct weston_output *output, struct weston_compositor *compositor); -struct weston_binding * -weston_compositor_add_debug_binding(struct weston_compositor *compositor, - uint32_t key, - weston_key_binding_handler_t binding, - void *data); bool weston_compositor_import_dmabuf(struct weston_compositor *compositor, struct linux_dmabuf_buffer *buffer);