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

resizing behaviour is not consistent after rotating space #2506

Open
Chumion opened this issue Dec 30, 2024 · 0 comments
Open

resizing behaviour is not consistent after rotating space #2506

Chumion opened this issue Dec 30, 2024 · 0 comments

Comments

@Chumion
Copy link

Chumion commented Dec 30, 2024

I have the following bindings in my .skhdrc file to control window size:

resize < h : yabai -m window --ratio rel:0.1
resize < l : yabai -m window --ratio rel:-0.1

However, I've noticed that after rotating the current space (90, 180, or 270 degrees), the enlarge and shrink behaviours become swapped. A similar issue occurs with other resizing commands (e.g., yabai -m window --resize left:20:0) - after rotation, it affects the wrong edge of the window. The behaviour only returns to normal after a full 360-degree rotation.

Expected behaviour: the same key should trigger the same action (either enlarge or shrink the window, or affect the same edge) regardless of the space's rotation.

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

No branches or pull requests

1 participant