Re: [dev] dmenu visibility issue (+patch)

2010-04-01 Thread Troels Henriksen
Connor Lane Smith writes: > Hey, > > On 1 April 2010 23:16, anonymous wrote: >> What if we run 2 dmenu? > > You can't. Grabbing the keyboard locks out all other processes, so a > second dmenu just dies silently. Yes. This will indeed be a problem if two programs both wish to keep on top, but I

Re: [dev] dmenu visibility issue (+patch)

2010-04-01 Thread Connor Lane Smith
Hey, On 1 April 2010 23:16, anonymous wrote: > What if we run 2 dmenu? You can't. Grabbing the keyboard locks out all other processes, so a second dmenu just dies silently. cls

Re: [dev] dmenu visibility issue (+patch)

2010-04-01 Thread anonymous
What if we run 2 dmenu? They will raise themselfs forever? When first raises, second hides and vice versa.

Re: [dev] dmenu visibility issue (+patch)

2010-04-01 Thread Anselm R Garbe
On 1 April 2010 20:24, Troels Henriksen wrote: > dmenu has a bug (or undesirable behaviour) in that it does not raise > itself back to the top if another window appears on top of it, yet it > will still keep keyboard focus, and the user will be typing into an > invisible (or obscured) window. > >

[dev] dmenu visibility issue (+patch)

2010-04-01 Thread Troels Henriksen
dmenu has a bug (or undesirable behaviour) in that it does not raise itself back to the top if another window appears on top of it, yet it will still keep keyboard focus, and the user will be typing into an invisible (or obscured) window. The attached patch makes dmenu raise itself (by XRaiseWindo