warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.23k stars 367 forks source link

Focus follows mouse/Hover focus #2551

Open jmkawooya opened 1 year ago

jmkawooya commented 1 year ago

Discord username (optional)

No response

Describe the solution you'd like?

Focus on pane/window with mouse hover.

The only thing keeping me from switching to Warp 100%

Is your feature request related to a problem? Please describe.

No response

Additional context

No response

How important is this feature to you?

5 (Can't work without it!)

Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087

None

dannyneira commented 1 year ago

Thanks for submitting this @jmkawooya , if anyone else interested, please 👍 this request to help us gauge how many are interested in it.

SilentGlasses commented 7 months ago

Please make this an optional feature. Not everyone wants things to just switch because the mouse hovers over.

I wish the OP would expand on exactly what the use case is.

conradwt commented 5 months ago

For me, this is a feature that I have been looking for since working with X11. It speeds up window selection for me because I'm removing the extra step of having to click before typing. In the default macOS Terminal.app, one can enable this functionality using:

defaults write com.apple.Terminal FocusFollowsMouse -string YES

Note: I had to quit and restart the Terminal.app and this functionality worked like a charm.

To this disable this functionality, one must do the following:

defaults write com.apple.Terminal FocusFollowsMouse -string NO
peter-lyons-kehl commented 2 months ago

FYI The ("ancient") X11 window managers have had this, because it's ergonomic: less mouse clicks.

(Yes, you may have an unintentional switch to a different window, or you may type a password/token/sensitive data into a wrong application or make it visible - but there are costs and disadvantages to every choice.)

GNOME supports this, too, with Tweaks application: image