mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-04-09 08:21:23 -04:00
Ameliorate style
This commit is contained in:
parent
bfca41b256
commit
3af6f08805
1 changed files with 2 additions and 4 deletions
6
seat.c
6
seat.c
|
|
@ -318,16 +318,14 @@ handle_keyboard_destroy(struct wl_listener *listener, void *data)
|
|||
|
||||
static void
|
||||
handle_keyboard_group_key(struct wl_listener *listener, void *data) {
|
||||
struct cg_keyboard_group *cg_group =
|
||||
wl_container_of(listener, cg_group, key);
|
||||
struct cg_keyboard_group *cg_group = wl_container_of(listener, cg_group, key);
|
||||
handle_key_event(cg_group->keyboard, data);
|
||||
}
|
||||
|
||||
static void
|
||||
handle_keyboard_group_modifiers(struct wl_listener *listener, void *data)
|
||||
{
|
||||
struct cg_keyboard_group *group =
|
||||
wl_container_of(listener, group, modifiers);
|
||||
struct cg_keyboard_group *group = wl_container_of(listener, group, modifiers);
|
||||
handle_modifier_event(group->keyboard);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue