Switch from wlr_idle to wlr_idle_notify_v1

The latter implemented the KDE protocol which has been dropped.
This commit is contained in:
Kenny Levinsen 2023-11-21 19:20:13 +01:00 committed by Simon Ser
parent a30f2bcec1
commit 1ff7945ba1
4 changed files with 20 additions and 20 deletions

View file

@ -4,8 +4,8 @@
#include "config.h"
#include <wayland-server-core.h>
#include <wlr/types/wlr_idle.h>
#include <wlr/types/wlr_idle_inhibit_v1.h>
#include <wlr/types/wlr_idle_notify_v1.h>
#include <wlr/types/wlr_output_layout.h>
#include <wlr/types/wlr_relative_pointer_v1.h>
#include <wlr/types/wlr_xdg_decoration_v1.h>
@ -27,7 +27,7 @@ struct cg_server {
struct wlr_session *session;
struct cg_seat *seat;
struct wlr_idle *idle;
struct wlr_idle_notifier_v1 *idle;
struct wlr_idle_inhibit_manager_v1 *idle_inhibit_v1;
struct wl_listener new_idle_inhibitor_v1;
struct wl_list inhibitors;