Add support for ext_idle_notify_v1..

..and combine both idle variants into a standalone manager
This commit is contained in:
Consolatis 2023-07-08 18:27:40 +02:00 committed by Johan Malm
parent e06a8cfc7a
commit 40aba9e542
9 changed files with 134 additions and 51 deletions

11
include/idle.h Normal file
View file

@ -0,0 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef LABWC_IDLE_H
#define LABWC_IDLE_H
struct wl_display;
struct wlr_seat;
void idle_manager_create(struct wl_display *display, struct wlr_seat *wlr_seat);
void idle_manager_notify_activity(struct wlr_seat *seat);
#endif /* LABWC_IDLE_H */