Re: [dev] [dwm] NetActiveWindow

2011-04-21 Thread Anselm R Garbe
Hi, On 17 April 2011 17:05, Peter John Hartman wrote: >> It is then also possible to use "winctrl" and similar tools which >> depend on _NET_CLIENT_LIST. > > +1 I'm thinking about this during Easter. BR, Anselm

Re: [dev] [dwm] NetActiveWindow

2011-04-17 Thread Peter John Hartman
> It is then also possible to use "winctrl" and similar tools which > depend on _NET_CLIENT_LIST. +1 > > While this works great for me, I assume that most people might not > care about _NET_CLIENT_LIST, and this patch should probably not be > mainline material. Why not? I know that the _NET_ s

Re: [dev] [dwm] NetActiveWindow

2011-04-16 Thread Andreas Amann
On Fri, Apr 15, 2011 at 08:07:46AM +, Anselm R Garbe wrote: > > I think the approach has a multi-monitor flaw. > > The code should rather do: > > if(!ISVISIBLE(c)) { > c->mon->seltags ^= 1; > c->mon->tagset[c->mon->seltags] = c->tags; > } > detac

Re: [dev] [dwm] NetActiveWindow

2011-04-15 Thread Anselm R Garbe
On Fri, Apr 15, 2011 at 01:31:39AM +0200, Andreas Amann wrote: > On Thu, Apr 14, 2011 at 07:21:57PM +0200, Anselm R Garbe wrote: > > I still don't like the fact to call view() with some Arg from within > > dwm, will need to improve this. Arg arguments were only intended for > > config.h, but I thin

Re: [dev] [dwm] NetActiveWindow

2011-04-14 Thread Andreas Amann
On Thu, Apr 14, 2011 at 07:21:57PM +0200, Anselm R Garbe wrote: > I still don't like the fact to call view() with some Arg from within > dwm, will need to improve this. Arg arguments were only intended for > config.h, but I think we can improve this. Maybe the patch below is useful for this? Andr

Re: [dev] [dwm] NetActiveWindow

2011-04-14 Thread Anselm R Garbe
Hi Andreas, I applied the patch with some additional rearrangements. I still don't like the fact to call view() with some Arg from within dwm, will need to improve this. Arg arguments were only intended for config.h, but I think we can improve this. Kind regards, Anselm On 14 April 2011 10:37,

Re: [dev] [dwm] NetActiveWindow

2011-04-14 Thread Jacob Todd
Stop calling tip trunk. No projects here use svn.

Re: [dev] [dwm] NetActiveWindow

2011-04-14 Thread Peter John Hartman
On Thu, Apr 14, 2011 at 10:37:31AM +0200, Andreas Amann wrote: > Sure, see below. I also paste the new version of the patch which now only > switches on the tags of the selected window. Another option would be to tag > the window with the currently visible tags (see what is commented out in the >

Re: [dev] [dwm] NetActiveWindow

2011-04-14 Thread Andreas Amann
On Wed, Apr 13, 2011 at 06:08:42PM -0400, Peter John Hartman wrote: > On Wed, Apr 13, 2011 at 09:28:19PM +0100, Andreas Amann wrote: > > WARNING: This e-mail has been altered by MIMEDefang. Following this > > paragraph are indications of the actual changes made. For more > > information about you

Re: [dev] [dwm] NetActiveWindow

2011-04-13 Thread Peter John Hartman
On Wed, Apr 13, 2011 at 09:28:19PM +0100, Andreas Amann wrote: > WARNING: This e-mail has been altered by MIMEDefang. Following this > paragraph are indications of the actual changes made. For more > information about your site's MIMEDefang policy, contact > UCC Hostmaster / MIMEDefang Administra

[dev] [dwm] NetActiveWindow

2011-04-12 Thread Peter John Hartman
Hi. Thanks go also to LokiChaos on #suckless. With this little patch[1] you can now use this little script[2] (and others presumably) to manipulate windows via xdotool in dwm. The little script conjurs up a list of available windows (via xprop and xdotool), pipes it into dmenu, which then passes