Re: How to implement OSD overlay in Wayland/Weston

2019-11-19 Thread Daniel Stone
Hi, On Tue, 19 Nov 2019 at 11:48, Guillermo Rodriguez wrote: > El mar., 19 nov. 2019 a las 11:47, Pekka Paalanen () > escribió: > > If the OSD is just a piece of a bigger application and only needs to be > > on top of that application's windows, you could probably use xdg > > extensions or a sub

Re: How to implement OSD overlay in Wayland/Weston

2019-11-19 Thread Simon Ser
On Tuesday, November 19, 2019 1:37 PM, Pekka Paalanen wrote: > On Tue, 19 Nov 2019 12:19:35 + > Simon Ser cont...@emersion.fr wrote: > > > On Tuesday, November 19, 2019 1:08 PM, Pekka Paalanen ppaala...@gmail.com > > wrote: > > > > > On Tue, 19 Nov 2019 12:55:31 +0100 > > > Guillermo Rodrig

Re: How to implement OSD overlay in Wayland/Weston

2019-11-19 Thread Pekka Paalanen
On Tue, 19 Nov 2019 12:19:35 + Simon Ser wrote: > On Tuesday, November 19, 2019 1:08 PM, Pekka Paalanen > wrote: > > > On Tue, 19 Nov 2019 12:55:31 +0100 > > Guillermo Rodriguez guillerodriguez@gmail.com wrote: > > > > > Hi, > > > El mar., 19 nov. 2019 a las 12:38, Sebastian Krzyszko

Re: How to implement OSD overlay in Wayland/Weston

2019-11-19 Thread Pekka Paalanen
On Tue, 19 Nov 2019 12:48:10 +0100 Guillermo Rodriguez wrote: > El mar., 19 nov. 2019 a las 11:47, Pekka Paalanen > () escribió: > > > > On Tue, 19 Nov 2019 09:53:39 +0100 > > Guillermo Rodriguez wrote: > > > > > Hi all, > > > > > > This is a follow up to my earlier email "Let pointer events p

Re: How to implement OSD overlay in Wayland/Weston

2019-11-19 Thread Simon Ser
On Tuesday, November 19, 2019 1:08 PM, Pekka Paalanen wrote: > On Tue, 19 Nov 2019 12:55:31 +0100 > Guillermo Rodriguez guillerodriguez@gmail.com wrote: > > > Hi, > > El mar., 19 nov. 2019 a las 12:38, Sebastian Krzyszkowiak > > (d...@dosowisko.net) escribió: > > > > > On 11/19/19, Pekka Paa

Re: How to implement OSD overlay in Wayland/Weston

2019-11-19 Thread Pekka Paalanen
On Tue, 19 Nov 2019 12:55:31 +0100 Guillermo Rodriguez wrote: > Hi, > > > El mar., 19 nov. 2019 a las 12:38, Sebastian Krzyszkowiak > () escribió: > > > > On 11/19/19, Pekka Paalanen wrote: > > > yes. I'm not aware of any Wayland extension that would allow clients to > > > dictate always-on-

Re: How to implement OSD overlay in Wayland/Weston

2019-11-19 Thread Guillermo Rodriguez
Hi, El mar., 19 nov. 2019 a las 12:38, Sebastian Krzyszkowiak () escribió: > > On 11/19/19, Pekka Paalanen wrote: > > yes. I'm not aware of any Wayland extension that would allow clients to > > dictate always-on-top behaviour on the desktop. It has an obvious > > attack vector (malicious or misb

Re: How to implement OSD overlay in Wayland/Weston

2019-11-19 Thread Guillermo Rodriguez
El mar., 19 nov. 2019 a las 11:47, Pekka Paalanen () escribió: > > On Tue, 19 Nov 2019 09:53:39 +0100 > Guillermo Rodriguez wrote: > > > Hi all, > > > > This is a follow up to my earlier email "Let pointer events pass through". > > > > I have an use case where there is one full screen application

Re: How to implement OSD overlay in Wayland/Weston

2019-11-19 Thread Sebastian Krzyszkowiak
On 11/19/19, Pekka Paalanen wrote: > yes. I'm not aware of any Wayland extension that would allow clients to > dictate always-on-top behaviour on the desktop. It has an obvious > attack vector (malicious or misbehaving app setting always-on-top > without user's consent) and a simple corner case (h

Re: How to implement OSD overlay in Wayland/Weston

2019-11-19 Thread Ilia Bozhinov
You can try to use a compositor which supports xdg-foreign, except if you don't already use private weston protocols. In this case, you can just extend weston with a custom protocol to get the placement you want to have. On Tue, 19 Nov 2019, 11:42 Guillermo Rodriguez, < guillerodriguez@gmail.

Re: How to implement OSD overlay in Wayland/Weston

2019-11-19 Thread Pekka Paalanen
On Tue, 19 Nov 2019 09:53:39 +0100 Guillermo Rodriguez wrote: > Hi all, > > This is a follow up to my earlier email "Let pointer events pass through". > > I have an use case where there is one full screen application (I'll > call this the "main" application) and I need to show a OSD overlay on

Re: How to implement OSD overlay in Wayland/Weston

2019-11-19 Thread Guillermo Rodriguez
Hello, Indeed I looked into xdg-foreign but it does not seem to be supported in Weston. Other ideas? Guillermo El mar., 19 nov. 2019 a las 10:21, Ilia Bozhinov () escribió: > > Hi, > > I am not entirely familiar with your setup, but you can try to use a > combination of: > > 1. Setting your on

Re: How to implement OSD overlay in Wayland/Weston

2019-11-19 Thread Ilia Bozhinov
Hi, I am not entirely familiar with your setup, but you can try to use a combination of: 1. Setting your on-top window's input region to empty as you already have tried. 2. Use xdg-foreign protocol to set the main window as parent of your on-top window. This will work on all compositors that su

How to implement OSD overlay in Wayland/Weston

2019-11-19 Thread Guillermo Rodriguez
Hi all, This is a follow up to my earlier email "Let pointer events pass through". I have an use case where there is one full screen application (I'll call this the "main" application) and I need to show a OSD overlay on top of it. The OSD overlay is actually based on GStreamer (think PiP) and is