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

zoom- vs windowed-fullscreen #2420

Open
vvatikiotis opened this issue Sep 12, 2024 · 5 comments
Open

zoom- vs windowed-fullscreen #2420

vvatikiotis opened this issue Sep 12, 2024 · 5 comments

Comments

@vvatikiotis
Copy link

vvatikiotis commented Sep 12, 2024

Can someone describe the difference?

I have implemented a single window is centered and of reduced size (via padding) script.

Now I need to be able to toggle fullscreen for that single, centered window and I've sortof made it (in a clunky way probably), with gaps and zoom-fullscreen.

It works, sort of. for more than 1 window, it works, however when having a single, centered and smaller size window it doesn't.

And reading the docs about it I feel that this information (zoom vs windowed fullscreen) is kinda lacking.

Thanks

@Bellavene
Copy link

Bellavene commented Sep 13, 2024

windowed-fullscreen maximizes the window whatever
zoom-fullscreen maximizes the window, but within paddings and external_bar options.

For me, they work as expected.

@vvatikiotis
Copy link
Author

vvatikiotis commented Sep 14, 2024

The following "I have added a command that ignores all configured padding (both padding and external_bar padding).", from #2221 (comment) suggests the exact opposite., windowed-fullscreen ignores padding and external_bar....

Which one is it?

@koekeishiya sorry to drag you in, can we please have a definitive answer? Thanks!

@Bellavene
Copy link

Bellavene commented Sep 14, 2024

Ah yeah, sorry for misleading. Corrected it.

@aspauldingcode
Copy link

I was the one to make this feature request.

Yabai Zoom
follows your padding rules, as well as external bar padding. If you have gaps, zoom maximizes the window (covering other windows in the space) like normal. It's always been there.

Windowed fullscreen is another option meant to replace the native-fullscreen.

Instead of an annoying zoom and workspace switching animation that macos imposes, we just instead ignore padding limits to the window, and maximize the application window to the screen size.

This way, it's basically an instant fullscreen toggle.

@vvatikiotis
Copy link
Author

That clears things up, thanks!

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

3 participants