[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [frameworks-kwayland] [Bug 385956] Support idle-inhibit-unstable-v1 protocol
From:       Martin Flöser <bugzilla_noreply () kde ! org>
Date:       2017-11-16 19:23:19
Message-ID: bug-385956-17878-H6r8ttDsAR () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=385956

--- Comment #2 from Martin Flöser <mgraesslin@kde.org> ---
Git commit 9520c2f292d0ac7bae98e96b9e067dfa25cb828f by Martin Flöser.
Committed on 16/11/2017 at 19:22.
Pushed by graesslin into branch 'master'.

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.

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

M  +31   -0    autotests/client/test_wayland_registry.cpp
M  +63   -0    autotests/client/test_wayland_surface.cpp
M  +6    -0    src/client/CMakeLists.txt
A  +176  -0    src/client/idleinhibit.cpp     [License: BSD]
A  +217  -0    src/client/idleinhibit.h     [License: BSD]
A  +83   -0    src/client/protocols/idle-inhibit-unstable-v1.xml
M  +20   -0    src/client/registry.cpp
M  +44   -1    src/client/registry.h
M  +8    -0    src/server/CMakeLists.txt
M  +13   -0    src/server/display.cpp
M  +11   -0    src/server/display.h
A  +53   -0    src/server/idleinhibit_interface.cpp     [License: BSD]
A  +77   -0    src/server/idleinhibit_interface.h     [License: BSD]
A  +96   -0    src/server/idleinhibit_interface_p.h     [License: BSD]
A  +139  -0    src/server/idleinhibit_interface_v1.cpp     [License: BSD]
M  +23   -0    src/server/surface_interface.cpp
M  +16   -0    src/server/surface_interface.h
M  +4    -0    src/server/surface_interface_p.h
M  +2    -0    src/tools/mapping.txt

https://commits.kde.org/kwayland/9520c2f292d0ac7bae98e96b9e067dfa25cb828f

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic