diff options
author | Bernhard Beschow <shentey@gmail.com> | 2024-05-12 11:59:45 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-06-06 14:19:54 +0300 |
commit | 453a7c4f9b3161c841dd21d322fa9b5ede9ea83c (patch) | |
tree | 629553bbe5fd2162093eee47be3b2fa5efd9eac2 /cpu-target.c | |
parent | 3fe67740ca5555e993e811a1c1763f137ae1e52b (diff) |
ui/sdl2: Allow host to power down screen
By default, SDL disables the screen saver which prevents the host from powering
down the screen even if the screen is locked. This results in draining the
battery needlessly when the host isn't connected to a wall charger. Fix that by
enabling the screen saver.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20240512095945.1879-1-shentey@gmail.com>
(cherry picked from commit 2e701e6785cd8cc048c608751c6e4f6253c67ab6)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'cpu-target.c')
0 files changed, 0 insertions, 0 deletions