Skip to content

Hide the mouse when screen curtain is on#10182

Merged
feerrenrut merged 1 commit into
nvaccess:masterfrom
BabbageCom:screenCurtainMouse
Sep 10, 2019
Merged

Hide the mouse when screen curtain is on#10182
feerrenrut merged 1 commit into
nvaccess:masterfrom
BabbageCom:screenCurtainMouse

Conversation

@LeonarddeR

Copy link
Copy Markdown
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

@feerrenrut feerrenrut left a comment

Copy link
Copy Markdown
Contributor

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