1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

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

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) {