Skip to content
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

Ignoring windows for mouse_follows_focus via rules #675

Closed
dominiklohmann opened this issue Sep 30, 2020 · 6 comments
Closed

Ignoring windows for mouse_follows_focus via rules #675

dominiklohmann opened this issue Sep 30, 2020 · 6 comments
Labels
suggestion Request for new feature or some form of enhancement

Comments

@dominiklohmann
Copy link
Collaborator

dominiklohmann commented Sep 30, 2020

I'd like to be able to ignore windows for mouse_follows_focus via rules.

Rationale: iStat Menus is unusable on Big Sur, because its menubar dropdown windows now trigger mouse_follows_focus.

Ideally, a rule like yabai -m rule --add='^iStat Menus Status$' mouse_follows_focus=off would allow for selectively enabling or disabling mouse_follows_focus, overriding the default set by yabai -m config mouse_follows_focus on|off.

@dominiklohmann dominiklohmann added the suggestion Request for new feature or some form of enhancement label Sep 30, 2020
@koekeishiya koekeishiya added the addressed on master; not released Fixed upstream, but not yet released label Nov 22, 2020
@koekeishiya
Copy link
Owner

Fixed on master.

koekeishiya added a commit that referenced this issue Nov 22, 2020
@koekeishiya koekeishiya removed the addressed on master; not released Fixed upstream, but not yet released label Dec 3, 2020
unrevre pushed a commit to unrevre/yabai that referenced this issue Jan 26, 2022
unrevre pushed a commit to unrevre/yabai that referenced this issue Jan 26, 2022
@majordoobie
Copy link

@dominiklohmann Hey! Were you able to make a rule for iStat? I cannot seem to make it stop freaking out. This is what I have:

yabai -m rule --add app="^iStat Menus Status$" manage=off sticky=off mouse_follo    ws_focus=off

@peppy
Copy link

peppy commented May 19, 2022

I uninstalled iStat Menus due to a memory leak, but this worked for me when I was using it:

yabai -m rule --add app="iStat Menus.*" manage=off mouse_follows_focus=off

@majordoobie
Copy link

Thanks for the reply! But no dice. I was not aware of any leaks... What are you using now?

@peppy
Copy link

peppy commented May 19, 2022

If you're seeing issues specifically with the mouse_follows_focus part, make sure to rebuild from latest master as an issue with this flag was fixed very recently (#1267).

The memory leak for me was with very specific to AMD GPUs, and saw a constant vRAM leak over hours until it would hard crash my system (narrowed down to when iStat Menus was visible in the menu bar). Probably not relevant to most users. I have no need for a replacement, although I did come across this app recently.

@majordoobie
Copy link

Cheers! An update is what I needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Request for new feature or some form of enhancement
Projects
None yet
Development

No branches or pull requests

4 participants