void seat_init(struct server *server);
void seat_finish(struct server *server);
+void seat_reconfigure(struct server *server);
void seat_focus_surface(struct seat *seat, struct wlr_surface *surface);
void seat_set_focus_layer(struct seat *seat, struct wlr_layer_surface_v1 *layer);
wlr_cursor_destroy(seat->cursor);
}
+void
+seat_reconfigure(struct server *server)
+{
+ struct seat *seat = &server->seat;
+ struct input *input;
+ struct wlr_keyboard *kb = &seat->keyboard_group->keyboard;
+ wl_list_for_each(input, &seat->inputs, link) {
+ /* We don't configure keyboards by libinput, so skip them */
+ if (wlr_input_device_is_libinput(input->wlr_input_device) &&
+ input->wlr_input_device->type ==
+ WLR_INPUT_DEVICE_POINTER) {
+ configure_libinput(input->wlr_input_device);
+ }
+ }
+ wlr_keyboard_set_repeat_info(kb, rc.repeat_rate, rc.repeat_delay);
+}
+
void
seat_focus_surface(struct seat *seat, struct wlr_surface *surface)
{
}
menu_reconfigure(g_server, g_server->rootmenu);
+ seat_reconfigure(g_server);
damage_all_outputs(g_server);
}