Re: [PATCH] ui/sdl2: Allow host to power down screen

2024-05-17 Thread Daniel P . Berrangé
Cc stable - candidate for backport perhaps. On Sun, May 12, 2024 at 11:59:45AM +0200, Bernhard Beschow wrote: > 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

Re: [PATCH] ui/sdl2: Allow host to power down screen

2024-05-13 Thread Marc-André Lureau
On Sun, May 12, 2024 at 2:00 PM Bernhard Beschow wrote: > > 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

[PATCH] ui/sdl2: Allow host to power down screen

2024-05-12 Thread Bernhard Beschow
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 ---