aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-06-19 21:22:23 +0200
committerSimon Ser <contact@emersion.fr>2023-10-05 00:01:54 +0200
commit7cf4e1d5c68d764037f78cbffb167a4cc763c6c1 (patch)
tree52f351172ebd64aa002a1345abca74984d728aea /include
parentb3519c2d2f269f34ff3712ebf1903905a56541a6 (diff)
Drop support for KDE's idle protocol
We support the standard idle-notify protocol since Sway 1.8.
Diffstat (limited to 'include')
-rw-r--r--include/sway/desktop/idle_inhibit_v1.h1
-rw-r--r--include/sway/server.h1
2 files changed, 0 insertions, 2 deletions
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 <wlr/types/wlr_idle_inhibit_v1.h>
-#include <wlr/types/wlr_idle.h>
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;