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

platforms/atomic-kms: Fix cursors across multiple monitors. #3742

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RAOF
Copy link
Contributor

@RAOF RAOF commented Feb 7, 2025

KMSOutput::has_cursor was misleadingly named, and so we implemented it incorrectly. It is used to tell whether or not a cursor image needs to be set on that particular output before it is visible, not whether that output supports a cursor.

Rename it to something hopefully more easily understandable, and then fix the implementation.

Fixes: #3677

`KMSOutput::has_cursor` was misleadingly named, and so we implemented it
incorrectly. It is *used* to tell whether or not a cursor image needs
to be set on that particular output before it is visible, *not* whether
that output *supports* a cursor.

Rename it to something hopefully more easily understandable, and
then fix the implementation.

Fixes: #3677
@RAOF RAOF requested a review from a team as a code owner February 7, 2025 05:59
Copy link
Collaborator

@AlanGriffiths AlanGriffiths left a comment

Choose a reason for hiding this comment

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

gbm-kms has similar code (but not broken), perhaps the names there should be kept in step?

@AlanGriffiths AlanGriffiths mentioned this pull request Feb 7, 2025
github-merge-queue bot pushed a commit that referenced this pull request Feb 7, 2025
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.

atomic-kms: hardware cursor disappears crossing screen boundaries
2 participants