Re: [dwm] rules problem with gogui

From: Lavergne Thomas <thomas.lavergne_AT_reveurs.org>
Date: Fri, 23 Nov 2007 09:22:22 +0100

Hi,

sorry for my late response, I've some mail problems last days.

I will try to dig a little in dwm to swap the order and see if it works.
Up to now I've never look at the dwm code except the config file cause
all was perfect for me and doesn't have lot of time, but so many
projects..

I will post my result when finished.

Tom

On Tue, Nov 20, 2007 at 12:32:29PM +0100, Anselm R. Garbe wrote:
> Hi,
>
> On Tue, Nov 20, 2007 at 12:03:02PM +0100, Lavergne Thomas wrote:
> > I've a problem making some window not floating with the gogui apps.
> >
> > Gogui[1] is an application to play and debug/develop go playing
> > software. It allow to have different window opens during testing to get
> > information from the go engine. I use some of these window like tree
> > viewer, shell and analyse.
> >
> > The problem is that by default these window are floating and I want them
> > to be tiled, so I ve put some rules in config.h :
> > /* class:instance:title regex tags regex isfloating */
> > { "Tree", NULL, False },
> > { "Shell", NULL, False },
> > { "Analyze", NULL, False },
> > These rules corectly match and are applyed by dwm but the windows
> > doesn't go in tiled mode !
> >
> > The strange thing is that I can make them tiled using the
> > Meta-Shift-Space shortkey. I could have lived with if I don't have to
> > restart my engine so often when debugging, and each time I restart it
> > the windows are recreated and I must retile them.
> >
> > Does anyone have an idea ?
> >
> > Tom
> >
> >
> > [1] gogui.sourceforge.net
> > You don't have to install it, just uncompress it and run gogui in the
> > bin directory. To one of the problematic windows go in Tools menu and
> > choose Tree viewer.
>
> I assume those windows have a fixed size (minw == maxw, minh ==
> maxh), or those windows have set the transient_for hint (which
> is normally used for dialogs or popups) -- dwm prefers isfixed
> or transient_for to rules, because that worked out best in the
> past. However we can think about changing the priority here.
>
> Regards,
> --
> Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
>

-- 
Thomas Lavergne                       "Le vrai rÍveur est celui qui rÍve
                                       de l'impossible."  (Elsa Triolet)
thomas.lavergne@reveurs.org                           http://reveurs.org
Received on Fri Nov 23 2007 - 09:08:23 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:07:35 UTC