]> git.mdlowis.com Git - proto/labwc.git/commitdiff
Remove unused function key_state_nr_pressed_keys()
authorJohan Malm <jgm323@gmail.com>
Thu, 25 Sep 2025 18:38:13 +0000 (19:38 +0100)
committerJohn Lindgren <john@jlindgren.net>
Fri, 26 Sep 2025 14:41:21 +0000 (10:41 -0400)
include/input/key-state.h
src/input/key-state.c

index c53a4b10c4a940c9e3604c42cf85b44f4d9fdb91..d9971b74daaa868af689c8fac61dbfb93a9d4f10 100644 (file)
@@ -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 */
index def6b72c860d89b1f80d148e9d729494344a1601..492f7b0fb24f0fe4f90e41ed7e8fb93fa304fc33 100644 (file)
@@ -84,9 +84,3 @@ key_state_nr_bound_keys(void)
 {
        return bound.size;
 }
-
-int
-key_state_nr_pressed_keys(void)
-{
-       return pressed.size;
-}