-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix: disable mouse focus for JetBrains #3336
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
Conversation
|
Please test @NicolasDorier @coendewit @AdamMusa @jorgemanrubia |
|
The issue this fix is when a popup appear from some mouse action, the popup wouldn't be auto focused. (no issue with keyboard shortcut) I tested this, and this work as expected. Let me check if we can't just use the jetbrain tag. The Some other popups (like create new branch), don't have the issues we solved in the previous commit... However it has issues related to autofocus when we open via mouse click. This properly fix it. ACK for me. |
default/hypr/apps/jetbrains.conf
Outdated
| windowrule = noinitialfocus, class:^(jetbrains-.*)$, title:^(win.*)$, floating:1 | ||
|
|
||
| # Disable mouse focus | ||
| windowrulev2 = nofollowmouse,class:^jetbrains-.*$ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use windowrule instead, and fix the formatting to be the same as above.
|
Not related, but a lot of smart people with Jetbrins knowledge. Is there any ideas how to get the jetbrains-toolbox to scale properly in 2x too? Super small right now. |
jorgemanrubia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great for me @landsman 👏👏
|
It’s a solid improvement, but it looks like tab drag-and-drop no longer works as a side effect 2025-11-23.12-42-00.mp4 |

Let's turn off mouse focus at all. In JetBrains IDEs it produces unexpected UX.
Fixing issue with lost focus: #3326 (comment)