mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-04-09 08:21:23 -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");
|
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);
|
wlr_keyboard_group_add_keyboard(cg_group->wlr_group, wlr_keyboard);
|
||||||
wl_list_insert(&seat->keyboard_groups, &cg_group->link);
|
wl_list_insert(&seat->keyboard_groups, &cg_group->link);
|
||||||
|
|
||||||
|
|
|
||||||
2
seat.h
2
seat.h
|
|
@ -50,8 +50,6 @@ struct cg_seat {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct cg_keyboard_group {
|
struct cg_keyboard_group {
|
||||||
struct wlr_keyboard *keyboard;
|
|
||||||
|
|
||||||
struct wlr_keyboard_group *wlr_group;
|
struct wlr_keyboard_group *wlr_group;
|
||||||
struct cg_seat *seat;
|
struct cg_seat *seat;
|
||||||
struct wl_listener key;
|
struct wl_listener key;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue