On Wed, Sep 28, 2011 at 03:03:39PM +0100, Connor Lane Smith wrote:
> Hey,
>
> On 28 September 2011 14:26, anonymous <p37sitdu_AT_lavabit.com> wrote:
> > This patch is broken. Since revision 438 dmenu compiled with Xinerama
> > support has a bug. If you startx and try to start dmenu (Mod1+p), it
> > don't start. However if you change tag to 2 and back and then press
> > Mod1+p, it starts as usual.
> >
> > With revision 437 or without -DXINERAMA, everything works.
>
> Ah, this is because I don't have Xinerama enabled, so I'm sort of
> coding blind. Would you be able to debug the problem?
I don't need Xinerama too, I can just disable it. I have checked my
first tty, dmenu outputs something about BadWindow in
XGetWindowAttributes. What happens is XGetInputFocus returns
PointerRoot. So I have checked XGetInputFocus(3) and made a patch.
Please test your changes before commiting them.
Received on Fri Sep 30 2011 - 15:47:35 CEST