Skip to content

feat: add inverse_transform toggle - #25

Open
bllyanos wants to merge 1 commit into
Jappie3:masterfrom
bllyanos:master
Open

feat: add inverse_transform toggle#25
bllyanos wants to merge 1 commit into
Jappie3:masterfrom
bllyanos:master

Conversation

@bllyanos

Copy link
Copy Markdown

Summary

This PR adds a flag to disable inverse_transform for environments where it behaves incorrectly (notably sway). The default behavior remains unchanged, but users can now opt out of the inverse transform path to keep the rest of the transform logic working reliably.

Context

On my sway setup, inverse_transform produces incorrect results, which breaks the overall transformation flow.

Why this change

  • Provides a safe fallback when inverse_transform is broken on a compositor.
  • Preserves existing behavior for users where inverse_transform works correctly.

Behavior

  • Default: inverse_transform stays enabled.
  • New flag: allows disabling the inverse step when needed.

Testing

  • Not run (describe any local testing here if applicable).

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.

1 participant