On Fri, May 15, 2015 at 3:11 AM, Mike Burns <mike+open...@mike-burns.com> wrote: > This is essentially the opposite of this fix by Holger Mikolon, which > was never merged: http://marc.info/?l=openbsd-tech&m=127765978812199
For a reason.... > cwmrc(5) autogroup takes the windowname and windowclass in the opposite > order than specified in the man page. Fix the man page. The man page should be accurate; how are you determining that it is wrong? Take the example from cwmrc(5) and try it: # Autogroup definitions autogroup 3 "aterm,XTerm" autogroup 3 "xterm,XTerm" The current logic comes from the fact that xprop(1) displays name then class. That said, I do want to reverse the logic in cwm(1) along with other config format changes, so I prefer to do that all at once. Please let me know how/why you've come to the below conclusion. Thanks. > Index: app/cwm/cwmrc.5 > =================================================================== > RCS file: /cvs/xenocara/app/cwm/cwmrc.5,v > retrieving revision 1.59 > diff -u -p -r1.59 cwmrc.5 > --- app/cwm/cwmrc.5 25 Aug 2014 12:49:19 -0000 1.59 > +++ app/cwm/cwmrc.5 15 May 2015 07:08:45 -0000 > @@ -40,7 +40,7 @@ The following options are accepted: > .Pp > .Bl -tag -width Ds -compact > .It Ic autogroup Ar group windowclass > -.It Ic autogroup Ar group windowname,windowclass > +.It Ic autogroup Ar group windowclass,windowname > Automatically add new windows to > .Ar group > if their class property matches >