On Wed, 12 Sep 2018 18:07:41 +0530 nsola...@codeaurora.org wrote: > Hi Wayland/Weston team, > > > I am working on weston 3.0. > > I am trying to put weston on WESTON_COMPOSITOR_SLEEPING state. > > Basically, I want to do this from client side (from wayland app). > > I want to turn off display from application side. > > Can you please help me how this can be achieved ? > > Can I modify any of existing client apps (weston-flower, > weston-simple-egl etc) to achieve this functionality?
Hi, there is no existing way to do that through Wayland. You could force a VT-switch away, that should put Weston to SLEEPING. You could write a new Wayland extension, implement it in Weston and your app, and control the compositor state that way. However, generally it is a bad idea to let arbitrary clients freeze the compositor, but you could restrict it to a specific special client. Why do you want to put Weston to SLEEPING? What would wake it up? Thanks, pq
pgpxKeu7a7YTD.pgp
Description: OpenPGP digital signature
_______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel