Drop support for KDE's idle protocol

We support the standard idle-notify protocol since Sway 1.8.
This commit is contained in:
Simon Ser 2023-06-19 21:22:23 +02:00
parent b3519c2d2f
commit 7cf4e1d5c6
8 changed files with 0 additions and 11 deletions

View file

@ -1,5 +1,4 @@
#include <stdlib.h>
#include <wlr/types/wlr_idle.h>
#include <wlr/types/wlr_idle_notify_v1.h>
#include "log.h"
#include "sway/desktop/idle_inhibit_v1.h"
@ -140,7 +139,6 @@ void sway_idle_inhibit_v1_check_active(void) {
break;
}
}
wlr_idle_set_enabled(server.idle, NULL, !inhibited);
wlr_idle_notifier_v1_set_inhibited(server.idle_notifier_v1, inhibited);
}