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

Hide the mouse when screen curtain is on #10182

Merged
merged 1 commit into from
Sep 10, 2019
Merged

Hide the mouse when screen curtain is on #10182

merged 1 commit into from
Sep 10, 2019

Conversation

LeonarddeR
Copy link
Collaborator

Link to issue number:

Fixes #10181

Summary of the issue:

When the screen curtain is on, the mouse is still visible.

Description of how this pull request fixes the issue:

Use the MagShowSystemCursor function to hide the mouse. Also call the particular function with a True boolean value when terminating, though I think that's not strictly necessary.
@feerrenrut: may be you could quickly check this when reviewing this?

Testing performed:

Asked a sighted person to verify that the mouse is now gone.

Known issues with pull request:

None

Change log entry:

None

Copy link
Contributor

@feerrenrut feerrenrut left a comment

Choose a reason for hiding this comment

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

I have tested this PR, and could not see the mouse cursor when screen curtain was active.

@feerrenrut feerrenrut merged commit 2343000 into nvaccess:master Sep 10, 2019
@nvaccessAuto nvaccessAuto added this to the 2019.3 milestone Sep 10, 2019
JulienCochuyt added a commit to accessolutions/nvda that referenced this pull request Sep 13, 2019
Only hide the mouse when screen curtain effectively turned on.
This prevents the mouse to disappear if the screen curtain could no be turned
on because the Windows Magnifier is started.
JulienCochuyt added a commit to accessolutions/nvda that referenced this pull request Sep 13, 2019
JulienCochuyt added a commit to accessolutions/nvda that referenced this pull request Sep 13, 2019
michaelDCurran pushed a commit that referenced this pull request Sep 17, 2019
* Fix up of: Hide the mouse when screen curtain is on (PR #10182)

Only hide the mouse when screen curtain effectively turned on.
This prevents the mouse to disappear if the screen curtain could no be turned
on because the Windows Magnifier is started.

* Fix up of: Hide the mouse when screen curtain is on (PR #10182)

Review action #10211 (comment)

* Fix up of: Hide the mouse when screen curtain is on (PR #10182)

Review action #10211 (comment)
@LeonarddeR LeonarddeR deleted the screenCurtainMouse branch September 24, 2019 05:11
@LeonarddeR LeonarddeR added the BabbageWork Pull requests filed on behalf of Babbage B.V. label Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BabbageWork Pull requests filed on behalf of Babbage B.V.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Screen curtain reveals mouse position
3 participants