[Xcb] XCB_CW_OVERRIDE_REDIRECT strange behavior.

Christoph Pfister christophpfister at gmail.com
Sun Apr 8 03:06:54 PDT 2007


Hi,

I did a quick check here and there's no difference between not
specifying override_redirect and setting it to 0 (as done in the
testcase).

With override_redirect enabled you don't get key presses / releases
anymore as described in the original mail; this is imho due to the
fact that the window doesn't get keyboard focus (the keys I pressed
appeared in the console window in the background).

Christoph


2007/4/8, Barton C Massey <bart at cs.pdx.edu>:
> When you specify OVERRIDE_REDIRECT to the server, but use
> "false" as the value, as far as I know it doesn't actually
> override the redirect, so nothing is supposed to happen.  I
> don't know why you are seeing a change in behavior there.
>
> Any others have good ideas?
>
>         Bart
>
> In message <46166D7F.8060607 at jesmanowicz.com> you wrote:
> > #if 1
> >   mask = XCB_CW_OVERRIDE_REDIRECT | XCB_CW_EVENT_MASK;
> >   values[0] = 0;
> > #else


More information about the Xcb mailing list