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

Floating windows moved to a different display have bad frame position ("x" and "y" coordinates) #2292

Open
ywwry66 opened this issue May 23, 2024 · 2 comments

Comments

@ywwry66
Copy link

ywwry66 commented May 23, 2024

Moving a window with yabai -m window --display or yabai -m window --space to a space inside a different monitor/display leaves the "x" and "y" values (under "frame" entry in the output of yabai -m query --windows) unchanged. This puts the window totally outside the viewable range of the new display, kind of like it is hidden. So the window is not readily usable without a subsequent command like yabai -m window --grid.

This behavior is new since the fix 98bbdbd for Sonoma 14.5. Is it possible return to the old behavior, that moving around a floating window always leaves the window more or less centered in the screen and ready to use?

Thanks a lot!

@Jacksgong
Copy link

since Sonoma 14.5, move window to another display is not working through yabai -m window --display or --space, the window to be move by yabai is just disappeared.(but move to another space(not physical display space) is fine)

@Jacksgong
Copy link

since Sonoma 14.5, move window to another display is not working through yabai -m window --display or --space, the window to be move by yabai is just disappeared.(but move to another space(not physical display space) is fine)

I temporarily use Rectangle to realize such function.

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

2 participants