Re: [dwm] popup on a window in two tags : bug?

From: Anselm R. Garbe <arg_AT_10kloc.org>
Date: Tue, 22 Aug 2006 07:58:26 +0200

On Mon, Aug 21, 2006 at 07:42:00PM +0000, Sander van Dijk wrote:
> On 8/21/06, Capit Nicolas <capitn_AT_free.fr> wrote:
> >Ok, I just tried and it seems to work.
> >My test is with firefox and to click on the menu "Save page as ...":
> > - v0.9: the new window goes to "net" tag and not on the tag "work"...
> > - v hg tip : effectively the new window goes to the two tags "net" and
> >"work". It is good!!!
> >
> >BUT
> >
> >when you click to "Preferences" the new window (not a transient one) goes
> >the
> >tag "net" and not also to the tag "work" (this is very curious when you do
> >that
> >with only the tag "work" selected and you don't see the preferance
> >window...)
> >Is this the normal wanted behaviour?
>
> Well, dwm just does what the Rule says. If you don't like that, you
> should change the Rule. When a window sets the transient for hint, dwm
> can find out what client the pop-up originates from, and give it the
> same tags; if it doesn't set transient for, I'm not sure there's any
> way for dwm to know that the preferences window is in any way related
> to firefox...
There is no way to determine if a window is related to another
window if no transient_for hint (or other propietary hints) are set.

Regards,

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Tue Aug 22 2006 - 07:58:27 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:18 UTC