From 59520777c342f32c9de25f6590800156051844aa Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Sun, 31 May 2026 18:33:11 +0800 Subject: [PATCH] =?UTF-8?q?refactor(binding):=20key=5Fbinding=5Ft=20?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E4=BF=9D=E5=AD=98=E6=8C=89=E9=94=AE=E5=BA=8F?= =?UTF-8?q?=E5=88=97=E5=AD=97=E7=AC=A6=E4=B8=B2=E6=8C=87=E9=92=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/binding.c | 1 - src/core/binding.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/core/binding.c b/src/core/binding.c index fd96ad7..4efb98f 100644 --- a/src/core/binding.c +++ b/src/core/binding.c @@ -175,7 +175,6 @@ bool binding_table_add_bind( if (!parse_key_sequence(key_sequence, &modifiers, &keysym)) return false; auto item = array_push(mode->items, mode->count, mode->capacity); - item->key_str = key_sequence; item->modifiers = modifiers; item->keysym = keysym; item->action = action; diff --git a/src/core/binding.h b/src/core/binding.h index ff4bb51..cfa185f 100644 --- a/src/core/binding.h +++ b/src/core/binding.h @@ -10,7 +10,6 @@ typedef struct binding_table_t binding_table_t; typedef struct key_binding_t { - const char *key_str; modifier_mask_t modifiers; keysym_t keysym; zdwm_action_t action;