Skip to content

Do not remove focus from the last_active_window#726

Merged
mattrose merged 1 commit intognome-terminator:masterfrom
Vulcalien:master
Mar 12, 2023
Merged

Do not remove focus from the last_active_window#726
mattrose merged 1 commit intognome-terminator:masterfrom
Vulcalien:master

Conversation

@Vulcalien
Copy link
Copy Markdown
Member

This caused all the new windows to be unfocused, forcing the user to manually focus one.

From the docs:

If focus is None, unsets the focus widget for this window.

On my machine, the last_active_window feature seems to be broken.
I've spent some time trying to figure out why, but found nothing.

Most of the layout_done function appears to do nothing useful, but that might be different on other Desktop Environments.

It's an old problem, with commits from 10 years ago trying to fix it. And it's a mess.

This caused all the new windows to be unfocused, forcing the user to
manually focus one.
The 'last_active_window' feature might be broken anyway.
@mattrose mattrose merged commit a38152d into gnome-terminator:master Mar 12, 2023
@mattrose
Copy link
Copy Markdown
Member

Thanks for doing this. I haven't actually tested it I just merged it from my phone but I looked over the change and it looks good

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