Re: [dev] tabbed-list patch

From: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Sat, 17 Apr 2010 14:40:29 +0100

Hey Connor,

On 17 April 2010 02:20, Connor Lane Smith <cls_AT_lubutu.com> wrote:
>> Included is a patch to add functionality to see a screen-like list of
>> windows from tabbed using dmenu to tabbed-0.2.
>
> I've been thinking about this problem since you posted your patch, and
> I only just got to a solution. It's a bit of a round-about one, but it
> seems a little cleaner.
>
> Basically I patched Anselm's lsw to take an argument, the window of
> which to list the children (it defaults to root). So in tabbed's
> list() you just popen("lsw <tabbed's xid> | dmenu -l 5", "r") and
> fgets the output. One function, no atoms.
>
> Patches for lsw and tabbed attached.

Feel free to apply that patch to lsw. I think it's a great
generalisation of lsw.

Cheers,
Anselm
Received on Sat Apr 17 2010 - 13:40:29 UTC

This archive was generated by hypermail 2.2.0 : Sat Apr 17 2010 - 13:48:01 UTC