Skip to content

Conversation

@dremin
Copy link
Collaborator

@dremin dremin commented Apr 4, 2022

Casting to unsigned caused havoc when mouse coords were negative (which happens with multiple monitors)

@dremin dremin requested a review from josuave April 4, 2022 02:53
@josuave josuave merged commit a5a1632 into master Apr 4, 2022
@josuave josuave deleted the tray-mouse branch April 4, 2022 13:21
@josuave
Copy link
Collaborator

josuave commented Apr 4, 2022

May want to look at creating an LParam struct type that can be tested. We can either have methods for grabbing int or intptr or implicit operators.

@dremin
Copy link
Collaborator Author

dremin commented Apr 4, 2022

May want to look at creating an LParam struct type that can be tested. We can either have methods for grabbing int or intptr or implicit operators.

Good point, I will look into adding this. While working on this I noticed the RECT struct we have is being misused in some places, which threw me off for a bit, so I will clean that up too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants