Skip to content

Remove iconified pixmap check when drawing cursor #106

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

Merged
merged 1 commit into from
Jun 26, 2025

Conversation

weihsinyeh
Copy link
Collaborator

@weihsinyeh weihsinyeh commented Jun 26, 2025

The cursor pixmap is always drawn if present. The check for whether it is iconified is unnecessary.

Summary by Bito

This pull request enhances the cursor drawing logic by removing an unnecessary check for iconification, simplifying the code and ensuring the cursor is always drawn if present. The modification is focused on the src/screen.c file.

The cursor pixmap is always drawn if present. The check for whether it
is iconified is unnecessary.

Signed-off-by: Wei-Hsin Yeh <[email protected]>
@jserv jserv merged commit 58df55b into sysprog21:main Jun 26, 2025
3 checks passed
@jserv
Copy link
Contributor

jserv commented Jun 26, 2025

Thank @weihsinyeh for contributing!

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.

2 participants