Add support for zwp_idle_inhibit_manager_v1

Authored by graesslin on Oct 20 2017, 4:28 PM.

Description

Add support for zwp_idle_inhibit_manager_v1

Summary:
This protocol allows to indicate that a wl_surface should inhibit idle
actions such as DPMS, screen locking if the surface is visible.

The protocol is quite simple: it just creates an IdleInhibitor for a
Surface. If such an IdleInhibitor exists the Surface is considered to
inhibit idle.

On the server side it is also exposed like that through the API. The
IdleInhibitorInterface is private to the library and only
SurfaceInterface is extended to expose whether it currently inhibits
idle.

CCBUG: 385956

Test Plan: New test case added

Reviewers: Frameworks, KWin, Plasma on Wayland

Subscribers: plasma-devel

Tags: Plasma on Wayland, Frameworks

Differential Revision: https://phabricator.kde.org/D8396

Details

Committed
graesslinNov 16 2017, 7:22 PM
Differential Revision
D8396: Add support for zwp_idle_inhibit_manager_v1
Parents
R127:42b2daaec407: [server] Support inhibiting the IdleInterface
Branches
Unknown
Tags
Unknown