[PATCH weston v3 7/8] Define the screensaver inhibitor client interface

Pekka Paalanen ppaalanen at gmail.com
Thu May 26 15:02:09 UTC 2016


On Thu,  7 Apr 2016 16:44:22 -0700
Bryce Harrington <bryce at osg.samsung.com> wrote:

> Hook up the API defined in wayland-protocols to allow client screensaver
> inhibition requests.
> 
> Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
> ---
> v2: Update for protocol rename
> 
>  Makefile.am          |  9 +++++++--
>  clients/simple-shm.c | 28 ++++++++++++++++++++++++----
>  2 files changed, 31 insertions(+), 6 deletions(-)

Hi,

I would really wish we didn't add any more stuff into simple-shm, or
any of the simple-* clients, unless it is essential to them.

Something like the subsurfaces demo would be more suitable, that would
allow you to test the inhibi... hmm, wait, no, all subsurfaces there
are still inside the parent. I think you need a new test client that
creates a subsurface outside of the main surface, so you can test the
inhibitor inheritance.

Set inhibitor to the main surface, and move the window so that only the
child surface is on an output and see if the output goes to save.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160526/b51d5089/attachment-0001.sig>


More information about the wayland-devel mailing list