-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
implement wl_output_transform #224
Conversation
@vaxerski should be fixd |
@vaxerski this should be fine now |
In essence, when a geometry event is recieved, it compares the new transforms' and old transforms' parity with a bitwise XOR operation (yay a whole extra 1 picosecond of performance), meaning if and only if ONE of the transforms has a parity of 1 (because only odd transforms 1,3,5,7 describe rotations of 90 or 270 degrees) then a size swap needs to occur (i feel so smart !). From what I can tell, this SHOULD handle all cases and combinations of mode and transform events. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
convoluted solution but ok
you can appreciate the elegance tho right? im proud at least |
very simple change; ready to be merged whenever.
2024-12-17.00-57-07.mp4