-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request : Focus follows mouse #13
Comments
I found the implementation method of focus follows mouse in Afloat:When I was using Afloat the other day (not AloatX), Finder and some other applications have experienced the problem of infinitely crashing and being totally unresponsive after mouseclick/mouseenter. After some trials & experiments, I finally managed to get a crash report. I found that the reason why afloat crashed was precisely because of Focus follows Mouse feature... ↑ the specific reason for the crash is: focus follows mouse will trigger a semaphore_ wait_continue event, which failed to get a valid response, or it was put into a dead loop.
】 Then, I also found the implementation method of focus follows mouse in afloat: it is implemented by overwriting sendevent (MouseEntered) method. https://developer.apple.com/documentation/appkit/nsapplication/1428359-sendevent ↑ dear author Jslegendre, if you have the idea of implementing focus follows mouse, consider this method as a small hint~ —————————————— ↓ Same stuff, but In Chinese —————————————— ↑具体崩溃的原因是:Focus follows mouse会触发一个 semaphore_wait_continue 事件,这个事件未能得到响应。
】 然后,我还发现了afloat中的Focus follows mouse的实现方法:通过overwrite sendevent(MouseEntered)事件实现。 ↑如果作者您有实现Focus follows mouse的想法,就当我这个方法是一个小提示吧~ |
No description provided.
The text was updated successfully, but these errors were encountered: