Skip to content

Fix focuslast command#105

Open
bbugyi200 wants to merge 1 commit into
martanne:masterfrom
bbugyi200:fix-focuslast
Open

Fix focuslast command#105
bbugyi200 wants to merge 1 commit into
martanne:masterfrom
bbugyi200:fix-focuslast

Conversation

@bbugyi200

Copy link
Copy Markdown

The last window should be focused iff there was a last window AND that
window is still visible.

The last window should be focused iff there was a last window AND that
window is still visible.
Comment thread dvtm.c
static void
focuslast(const char *args[]) {
if (lastsel)
if (lastsel && isvisible(lastsel))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not very familiar with this code, but shouldn't we make lastsel visible instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants