I made progress implementing a minimal but usable MacOS X menu for Conkeror,
which remains active when all windows are closed. It contains only minimal
functionality: quitting Conkeror, and opening a new window. Quitting works
fine, but opening a new window doesn't.

My problem is that I need a piece of JavaScript code that will open a new
Conkeror window if no other window is open. In conkeror.xul I see the line

   conkeror.input_handle_command.call(window, 'make-window');

but when no window is open, "window" refers to a special hidden window
(apparently provided by XULRunner just for the purpose of attaching a MacOS
menu) which doesn't have all the info attached that Conkeror expects.

Is there a way to open a new window without referring to an existing one?

Konrad.
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to