InputOnly window class

Aaron Plattner aplattner at nvidia.com
Thu Aug 13 00:41:48 PDT 2009


On Wed, Aug 12, 2009 at 07:21:49PM -0700, McDonald, Michael-p7438c wrote:
> Everything I can get my hands on at the moment sayd that InputOnly
> windows should be "invisible". Mine are solid black. Is this my bug? The
> Xserver's bug? Or correct behaviour?

Do they have window decorations?  On my system, my window manager does
this:

    $ xwininfo -tree

    xwininfo: Please select the window about which you
              would like information by clicking the
              mouse in that window.

    xwininfo: Window id: 0x10812b5 (has no name)

      Root window id: 0x1e3 (the root window) (has no name)
      Parent window id: 0x1e3 (the root window) (has no name)
         1 child:
         0x4200002 (has no name): ()  50x50+4+24  +292+59

    $ xwininfo -id 0x10812b5 | grep Class
      Visual Class: TrueColor
      Class: InputOutput

    $ xwininfo -id 0x4200002 | grep Class
      Visual Class: TrueColor
      Class: InputOnly


If I make it override-redirect, then it correctly hijacks mouse events without
displaying anything.



More information about the xorg mailing list