Re: [hackers] [dmenu] detect active monitor using input focus || Connor Lane Smith

From: anonymous <p37sitdu_AT_lavabit.com>
Date: Fri, 30 Sep 2011 23:34:50 +0400

On Fri, Sep 30, 2011 at 05:55:13PM +0100, Connor Lane Smith wrote:
> On 30 September 2011 14:47, anonymous <p37sitdu_AT_lavabit.com> wrote:
> > So I have checked XGetInputFocus(3) and made a patch.
>
> Thanks for the patch. I do think we need to check that w != root, though?

I have checked, it really returns "root" in the next calls. So to
prevent dmenu from appearing on the first screen every time when there
are no windows, "w != root" check should be used.



Received on Fri Sep 30 2011 - 21:34:50 CEST

This archive was generated by hypermail 2.3.0 : Fri Sep 30 2011 - 21:36:04 CEST