[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-frameworks-devel
Subject: D8396: Add support for zwp_idle_inhibit_manager_v1
From: Martin_Flöser <noreply () phabricator ! kde ! org>
Date: 2017-10-21 11:11:06
Message-ID: differential-rev-PHID-DREV-vzm3vsvgap5o32e4aa2t-req () phabricator ! kde ! org
[Download RAW message or body]
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
[Attachment #3 (unknown)]
<table><tr><td style="">graesslin created this revision.<br />graesslin added \
reviewers: Frameworks, KWin, Plasma on Wayland.<br />Restricted Application added a \
subscriber: plasma-devel.<br />Restricted Application added projects: Plasma on \
Wayland, Frameworks. </td><a style="text-decoration: none; padding: 4px 8px; margin: \
0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; \
background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); \
display: inline-block; border: 1px solid rgba(71,87,120,.2);" \
href="https://phabricator.kde.org/D8396" rel="noreferrer">View \
Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This \
protocol allows to indicate that a wl_surface should inhibit idle<br /> actions such \
as DPMS, screen locking if the surface is visible.</p>
<p>The protocol is quite simple: it just creates an IdleInhibitor for a<br />
Surface. If such an IdleInhibitor exists the Surface is considered to<br />
inhibit idle.</p>
<p>On the server side it is also exposed like that through the API. The<br />
IdleInhibitorInterface is private to the library and only<br />
SurfaceInterface is extended to expose whether it currently inhibits<br />
idle.</p>
<p>CCBUG: 385956</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>New test \
case added</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R127 \
KWayland</div></div></div><br \
/><div><strong>BRANCH</strong><div><div>idle-inhibit-manager</div></div></div><br \
/><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D8396" \
rel="noreferrer">https://phabricator.kde.org/D8396</a></div></div><br \
/><div><strong>AFFECTED \
FILES</strong><div><div>autotests/client/test_wayland_registry.cpp<br /> \
autotests/client/test_wayland_surface.cpp<br /> src/client/CMakeLists.txt<br />
src/client/idleinhibit.cpp<br />
src/client/idleinhibit.h<br />
src/client/protocols/idle-inhibit-unstable-v1.xml<br />
src/client/registry.cpp<br />
src/client/registry.h<br />
src/server/CMakeLists.txt<br />
src/server/display.cpp<br />
src/server/display.h<br />
src/server/idleinhibit_interface.cpp<br />
src/server/idleinhibit_interface.h<br />
src/server/idleinhibit_interface_p.h<br />
src/server/idleinhibit_interface_v1.cpp<br />
src/server/surface_interface.cpp<br />
src/server/surface_interface.h<br />
src/server/surface_interface_p.h<br />
src/tools/mapping.txt</div></div></div><br /><div><strong>To: </strong>graesslin, \
Frameworks, KWin, Plasma on Wayland<br /><strong>Cc: </strong>plasma-devel, leezu, \
ZrenBot, alexeymin, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, \
eliasp, sebas, apol, mart, hein<br /></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic