fix hardware cursor rendering on rotated/flipped monitors - #13574
Merged
Conversation
|
Hello and thank you for making a PR to Hyprland! Please check the PR Guidelines and make sure your PR follows them. If your code can be tested, please always add tests. See more here. beep boop, I'm just a bot. A real human will review your PR soon. |
Replace the broken cairo_matrix_rotate() approach with explicit per-transform pattern matrices for all 8 wl_output_transform values.
JaSha256
force-pushed
the
fix/hardware-cursor-rotation
branch
from
March 5, 2026 00:07
b6c6e3c to
ba62707
Compare
vaxerski
pushed a commit
that referenced
this pull request
Mar 10, 2026
…13574) Replace the broken cairo_matrix_rotate() approach with explicit per-transform pattern matrices for all 8 wl_output_transform values.
vaxerski
pushed a commit
that referenced
this pull request
Mar 10, 2026
…13574) Replace the broken cairo_matrix_rotate() approach with explicit per-transform pattern matrices for all 8 wl_output_transform values.
crthpl
pushed a commit
to crthpl/Hyprland
that referenced
this pull request
Jun 3, 2026
…yprwm#13574) Replace the broken cairo_matrix_rotate() approach with explicit per-transform pattern matrices for all 8 wl_output_transform values.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace the broken cairo_matrix_rotate() approach with explicit per-transform pattern matrices for all 8 wl_output_transform values.
Describe your PR, what does it fix/add?
Problem
Fix
All 8 wl_output_transform variants should be handled correctly:
NORMAL, 90, 180, 270,
as well as
FLIPPED, FLIPPED_90, FLIPPED_180, FLIPPED_270