From: Johan Malm Date: Thu, 25 Sep 2025 18:38:13 +0000 (+0100) Subject: Remove unused function key_state_nr_pressed_keys() X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=1692c47fa08038640ef0a6442182320e68540149;p=proto%2Flabwc.git Remove unused function key_state_nr_pressed_keys() --- 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; -}