Skip to content

[RFC v3] implement v1 idle inhibit protocol

Vasilis Liaskovitis requested to merge vliaskov/mutter:issue-20-wip-v3 into master

The idle inhibitor calls Inhibit and UnInhibit methods of org.freedesktop.Screensaver when the surface is not obscured or when it is obscured respectively.

Tested with mpv /mnt/devel/mpv-build/mpv/build/mpv -v --vo=gpu --no-audio --gpu-context=wayland

#20 (closed)

v1->v2: moved visibility checks in inhibitor. The visibility check callback is signaled by a new obscured_changed signal from meta-shaped-texture / meta-surface-actor.

v2->v3: the signal is triggered from set_unobscured_region

Merge request reports