From 7cf4e1d5c68d764037f78cbffb167a4cc763c6c1 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 19 Jun 2023 21:22:23 +0200 Subject: Drop support for KDE's idle protocol We support the standard idle-notify protocol since Sway 1.8. --- include/sway/desktop/idle_inhibit_v1.h | 1 - include/sway/server.h | 1 - 2 files changed, 2 deletions(-) (limited to 'include') diff --git a/include/sway/desktop/idle_inhibit_v1.h b/include/sway/desktop/idle_inhibit_v1.h index 6dda1af9..84cc666d 100644 --- a/include/sway/desktop/idle_inhibit_v1.h +++ b/include/sway/desktop/idle_inhibit_v1.h @@ -1,7 +1,6 @@ #ifndef _SWAY_DESKTOP_IDLE_INHIBIT_V1_H #define _SWAY_DESKTOP_IDLE_INHIBIT_V1_H #include -#include enum sway_idle_inhibit_mode { INHIBIT_IDLE_APPLICATION, // Application set inhibitor (when visible) diff --git a/include/sway/server.h b/include/sway/server.h index 1eb308a4..108561e6 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -52,7 +52,6 @@ struct sway_server { struct wl_listener new_output; struct wl_listener output_layout_change; - struct wlr_idle *idle; struct wlr_idle_notifier_v1 *idle_notifier_v1; struct sway_idle_inhibit_manager_v1 idle_inhibit_manager_v1; -- cgit v1.2.3