Skip to content

Conversation

@llogar
Copy link
Contributor

@llogar llogar commented Oct 16, 2023

If monitor resolution scaling is used, opensc-notify.exe popup menu pops up at the wrong position.

Copy link
Member

@frankmorgner frankmorgner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

If we rely on EnumDisplaySettings to be successful, then info.rcMonitor.right - info.rcMonitor.left should not be 0. Do you think it makes sense to test for this anyway in order to prevent a possible devision by zero?

If monitor resolution scaling is used, opensc-notify.exe popup menu pops up at the wrong position.
@llogar
Copy link
Contributor Author

llogar commented Oct 18, 2023

I also share the opinion the division by zero shouldn't occur, but I guess one more check doesn't hurt...

Copy link
Member

@frankmorgner frankmorgner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@Jakuje
Copy link
Member

Jakuje commented Oct 31, 2023

Thank you for the contribution and reviews! I do not have a way to test it, but I think it is good to go for 0.24.0 unless there would be some concerns against.

@frankmorgner frankmorgner merged commit e420e44 into OpenSC:master Nov 3, 2023
@llogar llogar deleted the scaling3 branch June 21, 2024 19:19
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.

3 participants