D8396: Add support for zwp_idle_inhibit_manager_v1
Martin Flöser
noreply at phabricator.kde.org
Sat Oct 21 11:11:07 UTC 2017
graesslin created this revision.
graesslin added reviewers: Frameworks, KWin, Plasma on Wayland.
Restricted Application added a subscriber: plasma-devel.
Restricted Application added projects: Plasma on Wayland, Frameworks.
REVISION 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
REPOSITORY
R127 KWayland
BRANCH
idle-inhibit-manager
REVISION DETAIL
https://phabricator.kde.org/D8396
AFFECTED FILES
autotests/client/test_wayland_registry.cpp
autotests/client/test_wayland_surface.cpp
src/client/CMakeLists.txt
src/client/idleinhibit.cpp
src/client/idleinhibit.h
src/client/protocols/idle-inhibit-unstable-v1.xml
src/client/registry.cpp
src/client/registry.h
src/server/CMakeLists.txt
src/server/display.cpp
src/server/display.h
src/server/idleinhibit_interface.cpp
src/server/idleinhibit_interface.h
src/server/idleinhibit_interface_p.h
src/server/idleinhibit_interface_v1.cpp
src/server/surface_interface.cpp
src/server/surface_interface.h
src/server/surface_interface_p.h
src/tools/mapping.txt
To: graesslin, #frameworks, #kwin, #plasma_on_wayland
Cc: plasma-devel, leezu, ZrenBot, alexeymin, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171021/42cbb77d/attachment.html>
More information about the Plasma-devel
mailing list