Hey, > 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.
Thanks,
cls
lsw.diff
Description: Binary data
tabbed.diff
Description: Binary data
