aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-02-07 18:52:15 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-02-09 16:51:05 +0000
commit026785b777fa2f9cb50a23db4c26e39a154ce4c3 (patch)
treecebd657f180ae7835db16773bb02e5be1c2ffdfd /wayland.h
parentwayland: use key_bindings_destroy() to destroy the mouse bindings (diff)
wayland: add wayl_bindings_reset()
This function resets (clears) all key- and mouse-bindings associated with the seat.
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index d69ec9e0..78788278 100644
--- a/wayland.h
+++ b/wayland.h
@@ -515,3 +515,5 @@ bool wayl_win_subsurface_new_with_custom_parent(
struct wl_window *win, struct wl_surface *parent,
struct wl_surf_subsurf *surf);
void wayl_win_subsurface_destroy(struct wl_surf_subsurf *surf);
+
+void wayl_bindings_reset(struct seat *seat);