On Thu, Jul 19, 2001 at 02:48:37PM -0500, xOr wrote:
> I've been puttin' some mad hours into this bbcycle tool, and
> I'm pleased with my results so far. I've got it creating the
> window/grabbing the blackbox style info and drawing using it,
> etc. Props to the people who wrote all these great classes.
>
> Now, in order for me to make this useful, I need to integrate
> it with bbkeys. so.. to the bbkeys guy: Do I need to write a
> patch to add the new Cycle events to bbkeys, or can you provide
> me with a codebase with them? Then, I am still left wondering,
> how do I catch these events? Will a patch to blackbox itself
> be required of some sort to pass these new events on? or do we
> need to device an IPC solution of some sort? I'm guessing there
> is a simple solution, I'm just not aware of it :-)
Well, I'm not the bbkeys guy, but here's my two cents...
This would probably be easier to do as a patch to bbkeys than as
a separate program, if only because bbkeys already sets up and
tracks most of the resources you need. The only thing that you
might want that bbkeys doesn't already provide is a copy of the
client window list in order of last focus (or whatever order it
is that you wanted to cycle through the windows), plus a subclass
of Basemenu for you to display them in.
You shouldn't need a patch to blackbox to do what you're planning;
the existing protocol let's you set and raise the focus window.
(For some reason the last time this came up I thought more might
be needed of blackbox, but I'm fairly certain I was just being
stupid.)
Of course, going this route means you'd have to understand at
least some of the ins and outs of bbkeys, which is no small task
in and of itself.
Jeff Raven