mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +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:
commit
373ff727f0
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue