On 9/4/06, Anselm R. Garbe <[EMAIL PROTECTED]> wrote:
On Mon, Sep 04, 2006 at 04:18:48PM +0200, Jukka Salmi wrote:
> Hi,
>
> changeset [1]400 seems to have introduced the following behaviour: if
> Firefox is running in floating mode and I open a new browser window
> (Ctrl-N from within Firefox), the newly opened window is opened "behind"
> the existing one (but it gets the focus). With an older dwm binary
> it's opened in front of the existing window, as expected. Any hints?
>
>
> TIA, Jukka
>
> [1] http://10kloc.org/cgi-bin/hgwebdir.cgi/dwm?cs=052657ff2e7b

I can reproduce this as well.

Regards,
--
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361



My guess is that a call to restack() at the end of manage() in
client.c will fix this;

change:

if(isvisible(c))
   focus(c);

to:

if(isvisible(c)) {
   focus(c);
   restack();
}

I'm not at a unix box now so I can't promise, but I think that'll fix
it. Sorry I overlooked that.

Gr. Sander.

Reply via email to