Remove hack to ensure that focus is set.#716
Remove hack to ensure that focus is set.#716mattrose merged 3 commits intognome-terminator:masterfrom
Conversation
set_focus() should do the trick according to the docs, so let's just use that, and not go to extraordinary measures.
|
I lost focus on start after this. I'm on X11, Gnome, Debian 12. I'll try to fix it. Removing the line |
Oo, can you send in a PR with that and I'll merge it? If not, it's a simple change I can do if you want. |
|
Days like this I love GTK. This function does the exact opposite of what the function says it does. 😛 |
|
I think the "restore focus" feature isn't working altogether. If that's so, then I believe that instead of focusing the Edit: I think it wasn't working with the "awful workaround" code either. |
|
@Vulcalien do you have a config that can reproduce the problem, or is it now fixed with the final change? |
|
Here there are two windows, each with one terminal. For some reason, having a notebook influences how the focus is chosen. In this case, it works as it should. What I think it's happening, is that the window that is written as last in the config file is the one that grabs the focus, every time. Edit: very likely the behavior differs greatly between desktop environments. I'm on Gnome 43, X11. |
set_focus() should do the trick according to the docs, so let's just use that, and not go to extraordinary measures.
fixes #714 hopefully