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

Mouse capture issues when switching displays #641

Closed
matlo opened this issue Nov 18, 2019 · 1 comment
Closed

Mouse capture issues when switching displays #641

matlo opened this issue Nov 18, 2019 · 1 comment

Comments

@matlo
Copy link
Owner

matlo commented Nov 18, 2019

https://forum.gimx.fr/viewtopic.php?f=5&t=3225

@matlo
Copy link
Owner Author

matlo commented Apr 17, 2020

Reproduced: main display 4K with 150% scaling, secondary display 1K with no scaling. Start GIMX on main display. Change input on main display. Windows changes main display to the other display. Mouse capture is lost.

matlo pushed a commit to matlo/gimxinput that referenced this issue Apr 24, 2020
* escape win/ctrl/alt keys to avoid losing capture
* detect mouse capture loss to deal with corner cases
  * main display switch (and change of resolution and/or scaling)
  * simultaneous press of win+tab, ctrl+esc or alt+tab
* restore mouse capture with a 1s retry period
* remove deprecated focus lost event

matlo/GIMX#641 matlo/GIMX#656
matlo pushed a commit to matlo/gimxinput that referenced this issue Apr 24, 2020
* escape win/ctrl/alt keys to avoid losing capture
* detect mouse capture loss to deal with corner cases
  * main display switch (and change of resolution and/or scaling)
  * simultaneous press of win+tab, ctrl+esc or alt+tab
  * misbehaving application stealing focus
* restore mouse capture with a 1s retry period
* remove deprecated focus lost event

matlo/GIMX#641 matlo/GIMX#656
matlo pushed a commit that referenced this issue Apr 24, 2020
matlo pushed a commit that referenced this issue Apr 24, 2020
@matlo matlo closed this as completed Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant