Merge pull request #110875 from vmedea/2025-wayland-inhibit-idle

wayland: Inhibit idle in DisplayServerWayland::screen_set_keep_on
This commit is contained in:
Thaddeus Crews 2025-09-30 18:35:02 -05:00
commit 373ff727f0
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

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