Re: [dwm] Re: ImageMagick & display(1)

From: Anselm R. Garbe <arg_AT_10kloc.org>
Date: Mon, 21 Aug 2006 08:18:47 +0200

On Fri, Aug 18, 2006 at 08:55:53AM -0700, dtm wrote:
> >>>>> "ARG" == Anselm R Garbe <arg_AT_10kloc.org> writes:
>
> ARG> This is because wmii-4 takes the window name into account,
> ARG> but dwm takes only class/instance info into account since
> ARG> window names are kind of arbitrary.
>
> Ah, makes sense.
>
> Just curious, how much code would be necessary to also take window
> name into account (in dwm)? It's been over 15 years since I did any X
> programming, and even then it was mostly at the toolkit level.
>
> Sometimes I find it useful to have a row-oriented mode (ROM). But I
> don't want it applied to all tag views. What I do now is select an
> empty tag, open a couple terminal windows in float mode, and place one
> above the other, the width of the screen. As long as I don't switch
> back to that tag, while in tile mode, everything is fine. :)
>
> But, if I modified dwm to also account for window name, I could create
> a rule that would make those wide windows unaffected by tile/float
> mode changes.

If windows are forced floating in a Rule, they are unaffected by
dotile() (dofloat() respects their current geometry and never
touches that). Why isn't matching against class:instance enough?

Regards,

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Mon Aug 21 2006 - 08:18:48 UTC

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