Implement focusFollowsMouse
#307
Unanswered
mammadataei
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@mammadataei Hmm, tricky! 🤔 I guess you could try something like disabling the follow behaviour when the mouse reaches the menubar coordinates and then reactivating on some action? I could also potentially look into whether it is possible for reacting to any menubar events, but I’m not exactly sure whether that is possible... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to implement a
focusFollowsMouse
feature. As the name implies when the pointer moves the window under the pointer will get the focus. This is what I came up with:It almost works fine except when I open a menu from the menubar, the menu opens but it's not navigatable. As soon as the pointer reaches the window area the menu gets closed.
Any ideas for fixing this?
Beta Was this translation helpful? Give feedback.
All reactions