[Github-comments] [geany/geany] Cursor moved to search box? (#2838)

elextr notifications at xxxxx
Wed Jul 7 04:23:49 UTC 2021


I'm afraid you just answered your own question, you told the window manager (WM) to do it.

I also have "follow cursor" set (Cinnamon not XFCE) and if I do `<ctrl>f` the focus moves to the dialog ... so long as I don't bump the mouse, then it moves back to the main window as I asked the WM to do.

Geany does request the focus to the dialog, and it goes there, but the WM can override it at any time, and in Cinnamon it seems that any mouse movement causes it to re-focus, but maybe XFCE is more authoritarian, or uses a timer to decide to refocus or something.

Anyway its not under Geany's control AFAICK since WMs can always override focus at any time, and as I said we do issue `gtk_widget_grab_focus(find_dlg.entry);`


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2838#issuecomment-875265363
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210706/636d0036/attachment.htm>


More information about the Github-comments mailing list