You've already forked godot
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:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user