Closing the last source-tab leads to dest-tab having focus

I just noticed that the destination tab gains the focus (files can be selected) if the last source tab was closed. As far as I know the tab having the focus is always the source tab by design.

In the two screenshots below you can see a lister having a source and a destination tab, then I closed the source tab and the old destination tab is still rendered as destination but gains the focus. Maybe this is the reason for my problem regarding the tabmove command?




Single-display listers can have the focus and be in any of the "source", "destination" or "off" states.

Didn't know that.

But how can I forcly set the remaining file display to be in the "source" state after closing or moving the last tab from the opposite file display? Even a final call of "Set SOURCE=left" doesn't work. I need to set the remaining file display as source to get all my other commands working again (which expect a source).

Given below is my current tab-move command:

@ifset:DUAL=off
Go TABMOVE=active
Set SOURCE=Toggle
@ifset:else
Go TABMOVE=active

set source=focus