Skip to content

The app doesn't work correctly if the frontmost app is in full-screen mode #5

@eucrasia

Description

@eucrasia

Issue

The app doesn't work correctly if the frontmost app is in full-screen mode.

Cause of the Issue

The app centers the cursor on the full-screen app's toolbar, not the full-screen window.

Possible Solution

Consider the window whose index is next to the frontmost window. Let's call this window "the subsequent window."

If the subsequent window satisfies all the conditions below, the app should treat the window as the actual frontmost window.

  • The frontmost window and the subsequent window are on the same screen and have the same width.
  • The subsequent window's bound is "mostly" the same as the bound of the screen that the window is on.
    • The widths should always be identical, while the heights may differ by the height of the menu bar (depending on the "Automatically hide and show the menu bar" system setting.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions