Screensaver is not blocking when "suspend screensaver" option enabled. Tested on KDE Plasma 5.
Screensaver must blocked.
Seems like idle-inhibitor is creating, but RetroArch is ignore it:
static bool gfx_ctx_wl_suppress_screensaver(void *data, bool state)
{
(void)data;
gfx_ctx_wayland_data_t *wl = (gfx_ctx_wayland_data_t*)data;
if (!wl->idle_inhibit_manager)
return false;
if (state == (!!wl->idle_inhibitor))
return true;
if (state) {
RARCH_LOG("[Wayland]: Enabling idle inhibitor\n");
struct zwp_idle_inhibit_manager_v1 *mgr = wl->idle_inhibit_manager;
wl->idle_inhibitor = zwp_idle_inhibit_manager_v1_create_inhibitor(mgr, wl->surface);
} else {
RARCH_LOG("[Wayland]: Disabling the idle inhibitor\n");
zwp_idle_inhibitor_v1_destroy(wl->idle_inhibitor);
wl->idle_inhibitor = NULL;
}
return true;
}
--enable-wayland[Try to bisect and tell us when this started happening]
Works fine in Sway
Related KDE bug https://bugs.kde.org/show_bug.cgi?id=401499
Are you able of testing the upstream KDE solution?
@orbea Yes, I will test it on weekend
Fixed