Hey, dude-

On Sun, Oct 28, 2012 at 04:14:07PM -0400, Okan Demirmen wrote:
> A slightly altered version of your diff was applied -thanks!

Cool, thanks!

I noticed you and jmc@ removed the .Xr XClassHint 3 pointer.
What do you think about the addition below?

Basically, I was really confused at first because autogroup
didn't behave the way I expected it to.  Long story short,
the problem was that I thought the WM_CLASS property mapped
to what cwmrc(5) calls "windowclass," and WM_NAME mapped to
"windowname."  After much head-scratching I had to turn to
the cwm source to figure out that windowclass and windowname
both come from WM_CLASS (I thought the two values were two
different classes, i.e. windows could belong to multiple
classes).

I'll defer to you and jmc@ on this one, but I personally
think something along these lines would be helpful for
XClassHint noobs like myself.

Thanks again!

Best,
Kent


Index: cwmrc.5
===================================================================
RCS file: /cvs/xenocara/app/cwm/cwmrc.5,v
retrieving revision 1.44
diff -p -u -r1.44 cwmrc.5
--- cwmrc.5     28 Oct 2012 20:13:02 -0000      1.44
+++ cwmrc.5     30 Oct 2012 05:08:35 -0000
@@ -60,6 +60,8 @@ used to override
 .Pp
 The name and class values for existing windows may be obtained using
 .Xr xprop 1 .
+Both values come from the WM_CLASS property as described in
+.Xr XClassHint 3 .
 .Pp
 .It Ic bind Ar keys command
 Cause the creation of a keybinding, or replacement of a default

Reply via email to