-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 19 Jul 2001, Jeff Raven wrote:

> On Thu, Jul 19, 2001 at 04:01:39PM -0500, Ben Jansens wrote:
> > Ok, I've given this some thought and talked this over with
> > others, and I think this is the best idea we've come up with:
> >
> > Currently, when bbkeys fires the Next Window message, blackbox
> > catches the message, and switches to the next window. The same
> > functionality is used for catching this event as for when the
> > button on the toolbar is pressed.
> >
> > I propose that instead of blackbox handling the window cycling
> > call from bbkeys (it should still internally handle the toolbar
> > one), it instead passes it to the bbcycle application. This
> > application could cycle windows in any fashion seen fit, classic
> > style, KDE style, or any style devised at a later date.
>
> Sorry, but it's not gonna happen...
>
>   -- It will consume unnecessary system resources (bbkeys itself
>      adds more than enough overhead).
>
>   -- The more sophisticated window cycling methods need more
>      information than blackbox's CycleWindow message provides
>      (for instance, in Windows-style cycling it's important to
>      know whether the Mod key was released in between cycle
>      events). This means that the blackbox protocol would have
>      to be changed to include all the possible info that bbcycle
>      would require (and possibly have to be changed each time
>      bbcycle added a new cycling), and in turn bbkeys would
>      have to be changed in order to provide blackbox with all
>      that information.

My idea was that when the first alt-tab or whatever is caught, it notifies
bbcycle, which pops up the window, and Grabs the key sequence. This way,
bbkeys/blackbox wouldnt even see it anymore.
Given further reflection, I think you are very correct, this would go well
into bbkeys. I'll start playing with that.

>
>   -- It doubles the network trips it takes to cycle a window.
>
>   -- On a looking-into-the-future note, once I manage to slog
>      my way through my blackbox TODO list and get to adding NET
>      WM support, the CycleWindow message will disappear. The
>      only way to cycle windows using the NET WM spec is by
>      raising and focusing the appropriate window yourself (so
>      bbkeys would be forced to do the cycling itself, instead
>      of asking blackbox to do it).
>
> > I'd especially really like to hear what you core developers think
> > of this, since it encrouches on your territory somewhat :-) but I
> > believe this would really improve the window manager and keeps most
> > of the work out of the main codebase.
>
> I still think it's far easier to do this within bbkeys itself.
>
> Jeff Raven
>

Thanks for the feedback.

xOr
- -- 
you have no chance to survive make your time
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7V8LE8mPQRGtSu14RAp/0AJ9Gg1IAdhW3Qsdt+35k/3N7UKNAVQCfaSoF
U9uQFaVJFYH9MIIxMoaX9ig=
=Pl5V
-----END PGP SIGNATURE-----

Reply via email to