Actually fix idle inhibition

This commit is contained in:
iguanajuice 2024-08-08 20:02:38 -04:00
parent e123127a53
commit f5ce4a4413

View file

@ -1490,6 +1490,8 @@ void seat_apply_config(struct sway_seat *seat,
} }
seat->config = seat_config; seat->config = seat_config;
seat->idle_inhibit_sources = seat_config->idle_inhibit_sources;
seat->idle_wake_sources = seat_config->idle_wake_sources;
wl_list_for_each(seat_device, &seat->devices, link) { wl_list_for_each(seat_device, &seat->devices, link) {
seat_configure_device(seat, seat_device->input_device); seat_configure_device(seat, seat_device->input_device);