Would it make sense to define this as a function in conkeror so you
could just do `conkeror -batch -e 'regain_focus()'`?

- Nelson

On Wed, May 28, 2008 at 02:49:39PM -0400, John J Foerch wrote:
> A.W. <[EMAIL PROTECTED]> writes:
> > That's the main reason I have to use the thing...
> 
> Funny you should ask.  I was inspired to cook up a recipe to do just
> that today.  Bind a key in your window manager to the following command:
> 
> conkeror -batch -e 'if (w=window_watcher.activeWindow) {
>                       unfocus(w.buffers.current);
>                       w.minibuffer.message("focus regained");
>                     }'
> 
> -- 
> John Foerch
> 
> _______________________________________________
> Conkeror mailing list
> [email protected]
> https://www.mozdev.org/mailman/listinfo/conkeror
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to