Skip to content

Using the moure too fast will focus center #4

@c60cb859

Description

@c60cb859

Expected behavior

I expect the "plug-in" to not touch my cursor when moving the mouse

Actual behavior

If you move the mouse fast back and forth over a border between two windows, is will catch the cursor and center it in one of the windows.
This is not really a problem until you have a floating window, where you move the cursor normal speed across two window borders and the script then catches the cursor and center it to the window.

The cursor is not centered if it just moved very slow over borders.

Steps to reproduce the behavior

Looking at the picture below, moving the cursor with the mouse from the floating window 1 to 3 just at normal speed will trigger the script to center the mouse in window 3

image

Solution

I am not sure about the best solution, I assume it is not possible to see how a focus was changed to only trigger if focus changed due to a jump command and not the mouse moving into the window..

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