diff options
author | Simon Ser <contact@emersion.fr> | 2023-06-19 21:22:23 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-10-05 00:01:54 +0200 |
commit | 7cf4e1d5c68d764037f78cbffb167a4cc763c6c1 (patch) | |
tree | 52f351172ebd64aa002a1345abca74984d728aea /include | |
parent | Translate README to Arabic (diff) | |
download | sway-7cf4e1d5c68d764037f78cbffb167a4cc763c6c1.tar.gz sway-7cf4e1d5c68d764037f78cbffb167a4cc763c6c1.tar.zst sway-7cf4e1d5c68d764037f78cbffb167a4cc763c6c1.zip |
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.h | 1 | ||||
-rw-r--r-- | include/sway/server.h | 1 |
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 @@ | |||
1 | #ifndef _SWAY_DESKTOP_IDLE_INHIBIT_V1_H | 1 | #ifndef _SWAY_DESKTOP_IDLE_INHIBIT_V1_H |
2 | #define _SWAY_DESKTOP_IDLE_INHIBIT_V1_H | 2 | #define _SWAY_DESKTOP_IDLE_INHIBIT_V1_H |
3 | #include <wlr/types/wlr_idle_inhibit_v1.h> | 3 | #include <wlr/types/wlr_idle_inhibit_v1.h> |
4 | #include <wlr/types/wlr_idle.h> | ||
5 | 4 | ||
6 | enum sway_idle_inhibit_mode { | 5 | enum sway_idle_inhibit_mode { |
7 | INHIBIT_IDLE_APPLICATION, // Application set inhibitor (when visible) | 6 | 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 { | |||
52 | struct wl_listener new_output; | 52 | struct wl_listener new_output; |
53 | struct wl_listener output_layout_change; | 53 | struct wl_listener output_layout_change; |
54 | 54 | ||
55 | struct wlr_idle *idle; | ||
56 | struct wlr_idle_notifier_v1 *idle_notifier_v1; | 55 | struct wlr_idle_notifier_v1 *idle_notifier_v1; |
57 | struct sway_idle_inhibit_manager_v1 idle_inhibit_manager_v1; | 56 | struct sway_idle_inhibit_manager_v1 idle_inhibit_manager_v1; |
58 | 57 | ||