wayland: Inhibit idle in DisplayServerWayland::screen_set_keep_on
@@ -680,6 +680,8 @@ void DisplayServerWayland::screen_set_keep_on(bool p_enable) {
return;
}
+ wayland_thread.window_set_idle_inhibition(MAIN_WINDOW_ID, p_enable);
+
#ifdef DBUS_ENABLED
if (screensaver) {
if (p_enable) {