OutputOnly windows

Thierry Reding thierry.reding at avionic-design.de
Wed Jan 12 10:41:59 PST 2011


* Sam Spilsbury wrote:
> On Tue, Jan 11, 2011 at 9:59 PM, Adam Jackson <ajax at nwnk.net> wrote:
> > On Tue, 2011-01-11 at 21:37 +0800, Sam Spilsbury wrote:
> >> On Tue, Jan 11, 2011 at 7:01 PM, Thierry Reding
> >> <thierry.reding at avionic-design.de> wrote:
> >> > Hi,
> >> >
> >> > Is there any way to create an X window that is output only, similar to what
> >> > InputOnly does, except for output? In other words: I want to create a window
> >> > that displays a video image but does not capture input events. Input events
> >> > should go to the window below instead.
> >>
> >> Mark it override-redirect and use XShape to remove the input shape.
> 
> Indeed. But using o-r will ensure that window managers don't treat it
> like a normal window that the user can interact with (considering that
> your window isn't going to be "normal" in terms of stacking, unless
> there is a use case for that).

Removing the input shape worked perfectly. The window was override-redirect
before because as you say it will be positioned explicitly and should not be
controlled by the WM.

Thanks!
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20110112/7c916853/attachment.pgp>


More information about the xorg mailing list