mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-04-10 08:21:10 -04:00
Remove unnecessary field in cg_keyboard_group
This commit is contained in:
parent
615bb0e7e7
commit
c0bee55bb3
2 changed files with 0 additions and 8 deletions
6
seat.c
6
seat.c
|
|
@ -314,12 +314,6 @@ cg_keyboard_group_add(struct wlr_input_device *device, struct cg_seat *seat)
|
|||
|
||||
wlr_log(WLR_DEBUG, "Created keyboard group");
|
||||
|
||||
cg_group->keyboard = &cg_group->wlr_group->keyboard;
|
||||
if (cg_group->keyboard == NULL) {
|
||||
wlr_log(WLR_ERROR, "Failed to create keyboard from seat.");
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
wlr_keyboard_group_add_keyboard(cg_group->wlr_group, wlr_keyboard);
|
||||
wl_list_insert(&seat->keyboard_groups, &cg_group->link);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue