feat: add comboview dispatch

This commit is contained in:
DreamMaoMao 2025-09-25 10:28:59 +08:00
parent 2ca0b39e6b
commit 12a2492270
4 changed files with 24 additions and 0 deletions

View file

@ -794,6 +794,8 @@ struct dvec2 *baked_points_close;
static struct wl_event_source *hide_source;
static bool cursor_hidden = false;
static bool tag_combo = false;
static struct {
enum wp_cursor_shape_device_v1_shape shape;
struct wlr_surface *surface;
@ -3272,6 +3274,8 @@ void keypress(struct wl_listener *listener, void *data) {
if (!locked && event->state == WL_KEYBOARD_KEY_STATE_PRESSED) {
for (i = 0; i < nsyms; i++)
handled = keybinding(mods, syms[i], keycode) || handled;
} else if (event->state == WL_KEYBOARD_KEY_STATE_RELEASED) {
tag_combo = false;
}
if (handled && group->wlr_group->keyboard.repeat_info.delay > 0) {