aboutsummaryrefslogtreecommitdiffstats
path: root/sway/server.c
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2023-06-19 21:22:23 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2023-10-05 00:01:54 +0200
commit7cf4e1d5c68d764037f78cbffb167a4cc763c6c1 (patch)
tree52f351172ebd64aa002a1345abca74984d728aea /sway/server.c
parentTranslate README to Arabic (diff)
downloadsway-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 'sway/server.c')
-rw-r--r--sway/server.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/server.c b/sway/server.c
index ba5c2a0c..fd0ab585 100644
--- a/sway/server.c
+++ b/sway/server.c
@@ -17,7 +17,6 @@
17#include <wlr/types/wlr_export_dmabuf_v1.h> 17#include <wlr/types/wlr_export_dmabuf_v1.h>
18#include <wlr/types/wlr_fractional_scale_v1.h> 18#include <wlr/types/wlr_fractional_scale_v1.h>
19#include <wlr/types/wlr_gamma_control_v1.h> 19#include <wlr/types/wlr_gamma_control_v1.h>
20#include <wlr/types/wlr_idle.h>
21#include <wlr/types/wlr_idle_notify_v1.h> 20#include <wlr/types/wlr_idle_notify_v1.h>
22#include <wlr/types/wlr_layer_shell_v1.h> 21#include <wlr/types/wlr_layer_shell_v1.h>
23#include <wlr/types/wlr_linux_dmabuf_v1.h> 22#include <wlr/types/wlr_linux_dmabuf_v1.h>
@@ -145,7 +144,6 @@ bool server_init(struct sway_server *server) {
145 144
146 wlr_xdg_output_manager_v1_create(server->wl_display, root->output_layout); 145 wlr_xdg_output_manager_v1_create(server->wl_display, root->output_layout);
147 146
148 server->idle = wlr_idle_create(server->wl_display);
149 server->idle_notifier_v1 = wlr_idle_notifier_v1_create(server->wl_display); 147 server->idle_notifier_v1 = wlr_idle_notifier_v1_create(server->wl_display);
150 sway_idle_inhibit_manager_v1_init(); 148 sway_idle_inhibit_manager_v1_init();
151 149