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

Focus follows mouse doesn't work correctly when second display rotation is set to vertical #1150

Open
Signynt opened this issue Sep 25, 2021 · 1 comment

Comments

@Signynt
Copy link

Signynt commented Sep 25, 2021

Describe the bug
When a second monitor is connected and the rotation is set to vertical (either 90 degrees or 270 degrees) the "Focus follows mouse" feature does not work properly. The focus still switches between windows, but they are strongly offset. This becomes very apparent when moving the mouse vertically between two windows. This happens both on the rotated monitor as well as the main monitor which is not rotated. The video below makes it easier to understand.

Applications:
This issue is system wide.

To Reproduce

  1. Connect a second monitor
  2. Set it's rotation to vertical (either 90 degrees or 270 degrees)

Expected behavior
The "Focus follows mouse" feature should work normally, just as it does when no external monitor is connected.

Screenshots
https://www.youtube.com/watch?v=fn7SULMRk_8

Versions:

  • macOS: 12.0
  • Amethyst: 0.15.4

Debug Info

Version: 0.15.4 (91)

OS version: Version 12.0 (Build 21A5506j)

Has permissions: false

Screens:
	(0.0, 0.0, 2560.0, 1440.0) [(0.0, 0.0, 2560.0, 1440.0)]
	(2560.0, -480.0, 1080.0, 1920.0) [(2560.0, 0.0, 1080.0, 1920.0)]

Manageable applications:
	Safari (com.apple.Safari)
	GitHub Desktop (com.github.GitHubClient)
	Obsidian (md.obsidian)
	Preview (com.apple.Preview)
	Finder (com.apple.finder)
	AppSSOAgent (com.apple.AppSSOAgent)
	talagent (com.apple.talagent)
	Spotify (com.spotify.client)
	Terminal (com.apple.Terminal)

Configuration:
follow-space-thrown-windows: 1
window-margin-size: 20
screen-padding-right: 0
floating: (
        {
        id = "com.apple.systempreferences";
        "window-titles" =         (
        );
    },
        {
        id = "com.apple.Dictionary";
        "window-titles" =         (
        );
    },
        {
        id = "com.apple.Safari";
        "window-titles" =         (
            Passwords
        );
    },
        {
        id = "com.bresink.system.tinkertool";
        "window-titles" =         (
        );
    },
        {
        id = "net.shinyfrog.bear";
        "window-titles" =         (
            Preferences
        );
    },
        {
        id = "com.apple.Finder";
        "window-titles" =         (
            "Finder Preferences"
        );
    }
)
screen-padding-top: 0
focus-follows-mouse: 1
window-minimum-width: 0
screen-padding-left: 0
window-resize-step: 5
use-canary-build: 0
mod2: (
    option,
    shift,
    control
)
mouse-resizes-windows: 1
enables-layout-hud-on-space-change: 0
float-small-windows: 1
restore-layouts-on-launch: 0
mod1: (
    option,
    shift
)
screen-padding-bottom: 0
window-minimum-height: 0
enables-layout-hud: 0
mouse-follows-focus: 0
ignore-menu-bar: 0
window-margins: 1
new-windows-to-main: 0
mouse-swaps-windows: 1
layouts: (
    tall,
    "3column-left",
    row
)
floating-is-blacklist: 1
debug-layout-info: 0
@ibrahima
Copy link

I actually think that it might just not work with multiple monitors in general, see #1120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants