Killing n birds with one stone... major snippage ahead...

Mads Martin Joergensen wrote:
> 
> * Gregory J. Barlow <[EMAIL PROTECTED]> [Sep 08. 2000 14:24]:
> > This is not something everyone wants.  Some of us use blackbox
> > because its resistant to feature creep.
> 
> And that is exactly why is should be a seperate program. The freedom
> to choose.
> 

It should be noted that this is not an easy task, regardless of
whether blackbox does it or it is an external program. It's about
the same either way -- the launching program will only know the
command line and pid of the launched program, and have to somehow
go from this information to finding the launched program's windows.

In the past I've considered writing an external program just to
keep this discussion from repeating every month or so, but I know
of no way to reliably go from the pid to the windows. Once you can
do that, the rest is fairly trivial.

> > Well, someone could just create the "bbplace" tool, and whoever
> > wanted to use it would just make the menu this way:
>
> Remember, there is no "could just" in computer science ;-)

Quite. :)

In the long run, the ideal solution would be for the wm spec to be
finalized, for blackbox to support it, and for apps to use it to
provide command line options for these things. But that won't happen
for some time.

Eric Johnson wrote:
> Is this the reasoning behind moving "some" of the key-bindings
> into bbkeys rather than keeping them in the wm?

All of the keybindings moved to bbkeys... Anyway, you could view
it that way, I suppose. Once upon a time Blackbox only had
keybindings for workspace and window cycling, with no configuration
of any aspect of the keybindings. This led to complaints, so then
a configuration option was added that allowed you to specify which
modifier combination was used (the actuals keys were still fixed).
This lead to regular requests for more and more configurable
keybindings... bbkeys ended that.

The degree of functionality provided by bbkeys would probably never
have been integrated into blackbox for aesthetic reasons.

> I'm sure this has already been a thread, but I'm new to BB
> and the list.  I started with 0.5x and recently upgraded to
> 0.61 and was disappointed to discover I had to use bbkeys
> for my favorite bindings to cycle desktops, win-shade, etc.
> However, it seems as if some bindings exist in the BB wm
> such as Alt-Mouse-1 to move a window and Alt-Mouse-2 to
> resize.

But only button bindings... while Blackbox could easily do away
with _all_ the keypress events (and thanks to bbkeys, has), it
still needs to pay attention to some mouse events. And if it's
going to do that then it's simpler to just add the few lines needed
to handle those extra button bindings, especially since they just
act the same as other cases in the mouse event handlers. Plus
no one ever clamors to make them configurable...

Peter Peltonen wrote:
> But what does the majority of Blackbox users think?

To quote Guido van Rossum :
"Python is not a democracy. Voting doesn't help. Crying may..."

Jeff Raven

Reply via email to