Skip to content

ignore mouse input if not foreground window#197

Open
saa-games wants to merge 1 commit into
bayaraa:masterfrom
saa-games:fix/mouse-click-affects-multiple-windows
Open

ignore mouse input if not foreground window#197
saa-games wants to merge 1 commit into
bayaraa:masterfrom
saa-games:fix/mouse-click-affects-multiple-windows

Conversation

@saa-games
Copy link
Copy Markdown

There seems to be an issue where mouse events affect multiple windows.
If a Char 1 is moving in Window 1 (currently active window) then clicking in Window 2 to move Char 2 causes both chars to move.

Others have reported the same issue.

I just added a line to check if the window is foreground and ignore the event otherwise.

glclicksmall.mp4

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

Successfully merging this pull request may close these issues.

1 participant