Add support for basic idle and idle inhibitor protocols

This commit is contained in:
ARDiDo 2021-11-22 16:35:57 -05:00 committed by Johan Malm
parent 3e5458fa24
commit aa9720f627
4 changed files with 56 additions and 0 deletions

View file

@ -157,6 +157,7 @@ keyboard_key_notify(struct wl_listener *listener, void *data)
struct wlr_event_keyboard_key *event = data;
struct wlr_seat *wlr_seat = server->seat.seat;
struct wlr_input_device *device = seat->keyboard_group->input_device;
wlr_idle_notify_activity(seat->wlr_idle, seat->seat);
bool handled = false;