On Thu, Aug 04, 2016 at 11:18:11PM +0200, Jean-Marc Lasgouttes wrote:
> Le 04/08/2016 à 20:39, Scott Kostyshak a écrit :
> > On Thu, Aug 04, 2016 at 11:37:46AM +0200, Jean-Marc Lasgouttes wrote:
> > > And does it automatically switch to the right tab? I can't test ATM, 
> > > sorry for the questions.
> > 
> > lyxclient -g does, but this is thanks to server-goto-file-row, not
> > the activate action.
> 
> Does it make sense to activate the window but not the tab? Would a
> view-activate lfun be useful? How do we id the view? Currently only the
> current view can be activated. I am a bit confused about what we want to do
> now. Maybe your lyx-activate that activates current view is what we need.

What about your suggestion of window-activate?

If we open two windows, and run the following on the mini-buffer:

command-sequence repeat 500 self-insert x; lyx-activate

The window in which that command sequence was executed is the window
that is activated.

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to