X11 error from home grown application

Julien Cristau jcristau at debian.org
Wed May 19 12:50:29 PDT 2010


On Wed, May 19, 2010 at 14:58:16 -0400, Geoffrey wrote:

> Julien Cristau wrote:
> >On Tue, May 11, 2010 at 15:54:50 -0400, Geoffrey wrote:
> >
> >>Anyone know where I can start looking to figure out why I'm getting
> >>the following error in our application:
> >>
> >>X Error of failed request:  BadMatch (invalid parameter attributes)
> >>  Major opcode of failed request:  42 (X_SetInputFocus)
> >>  Serial number of failed request:  7398113
> >>  Current serial number in output stream:  7398114
> >>
> >Quoting from XSetInputFocus(3):
> >       The specified focus window must be viewable at the time XSetInputFocus
> >       is called, or a BadMatch error results.
> 
> Can you define 'viewable'?
> 
The XMapWindow manpage has a description.  AFAICT it means the window
and all its ancestors are mapped.

Cheers,
Julien



More information about the xorg mailing list