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 <marius.vlad@collabora.com>
dev
Marius Vlad 5 years ago
parent b5ac5a9aa1
commit 3ee9d8e2d2
  1. 5
      include/libweston/libweston.h
  2. 5
      libweston/libweston-internal.h

@ -1627,6 +1627,11 @@ weston_compositor_add_key_binding(struct weston_compositor *compositor,
enum weston_keyboard_modifier modifier, enum weston_keyboard_modifier modifier,
weston_key_binding_handler_t binding, weston_key_binding_handler_t binding,
void *data); 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, typedef void (*weston_modifier_binding_handler_t)(struct weston_keyboard *keyboard,
enum weston_keyboard_modifier modifier, enum weston_keyboard_modifier modifier,

@ -79,11 +79,6 @@ weston_compositor_add_head(struct weston_compositor *compositor,
void void
weston_compositor_add_pending_output(struct weston_output *output, weston_compositor_add_pending_output(struct weston_output *output,
struct weston_compositor *compositor); 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 bool
weston_compositor_import_dmabuf(struct weston_compositor *compositor, weston_compositor_import_dmabuf(struct weston_compositor *compositor,
struct linux_dmabuf_buffer *buffer); struct linux_dmabuf_buffer *buffer);

Loading…
Cancel
Save