Just as an FYI, I looked into this and I believe that it is a
blackbox-related bug. Also, it seems to only happen if you're using
click-to-focus focus. I _always_ (always have, always will) use
sloppy-focus focus and have _never_ had a problem with this. But if I
switch to click-to-focus, then close the focused window, bbkeys simply
stops getting XEvents.
The code that this effects is in BaseDisplay.cc of bbkeys...
void BaseDisplay::eventLoop(void) {
run();
int xfd = ConnectionNumber(display);
time_t lastCheck = time(NULL);
while ((! _shutdown) && (! internal_error)) {
if (XPending(display)) {
XEvent e;
XNextEvent(display, &e);
process_event(&e);
If you put a printf("hi there, happy pilgrim!\n"); immediately below the
while, you don't get _anything_ between when the focused window closes
(again, only in click-to-focus) and until another window is clicked.
I have e-mailed nyz and asked for hypotheses, but
have not heard back (nyz, please come home!!). There's nothing that I
can do in bbkeys to help the problem that I know of. Anybody have
anything to add to this? (read: nyz?) =:)
* dave terry <[EMAIL PROTECTED]> [000507 03:31]:
> Bill Beal wrote:
> >
> > FWIW, I get around this by mapping Alt+Tab to "Next Window"
> > via bbkeys, so I don't have to reach for the mouse.
>
> I can get from window to window via Alt+Tab w/bbkeys as long as some
> window already has the focus, but when I close a window, nothing has the
> focus and bbkeys no longer responds (until I mouse-click something to
> give it the focus).
>
> I think I mentioned this to the list before without much response, so it
> must be something specific to my setup. Is anyone else out there running
> Suse 6.3 and not experiencing this?
>
> Thanks,
> Dave
>
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=
Jason Kasper (vanRijn)
Systems Engineer
bash$ :(){ :|:&};:
VORFA
PGP signature