From 1692c47fa08038640ef0a6442182320e68540149 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Thu, 25 Sep 2025 19:38:13 +0100 Subject: [PATCH] Remove unused function key_state_nr_pressed_keys() --- include/input/key-state.h | 1 - src/input/key-state.c | 6 ------ 2 files changed, 7 deletions(-) diff --git a/include/input/key-state.h b/include/input/key-state.h index c53a4b10..d9971b74 100644 --- a/include/input/key-state.h +++ b/include/input/key-state.h @@ -24,6 +24,5 @@ void key_state_store_pressed_key_as_bound(uint32_t keycode); bool key_state_corresponding_press_event_was_bound(uint32_t keycode); void key_state_bound_key_remove(uint32_t keycode); int key_state_nr_bound_keys(void); -int key_state_nr_pressed_keys(void); #endif /* LABWC_KEY_STATE_H */ diff --git a/src/input/key-state.c b/src/input/key-state.c index def6b72c..492f7b0f 100644 --- a/src/input/key-state.c +++ b/src/input/key-state.c @@ -84,9 +84,3 @@ key_state_nr_bound_keys(void) { return bound.size; } - -int -key_state_nr_pressed_keys(void) -{ - return pressed.size; -} -- 2.52.0