Commit 3ee9d8e2 authored by Marius Vlad's avatar Marius Vlad

libweston: Put back weston_compositor_add_debug_binding() as public

The ability to install debug keybinds is useful so bring it back to the
public libweston API.
Signed-off-by: Marius Vlad's avatarMarius Vlad <marius.vlad@collabora.com>
parent b5ac5a9a
......@@ -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,
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment