mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
When key press events are handled by compositor keybindings, do not forward the corresponding release events to clients.
10 lines
368 B
C
10 lines
368 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef __LABWC_KEY_STATE_H
|
|
#define __LABWC_KEY_STATE_H
|
|
|
|
void key_state_set_pressed(uint32_t keycode, bool ispressed);
|
|
void key_state_store_pressed_keys_as_bound(void);
|
|
bool key_state_corresponding_press_event_was_bound(uint32_t keycode);
|
|
void key_state_bound_key_remove(uint32_t keycode);
|
|
|
|
#endif /* __LABWC_KEY_STATE_H */
|