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

make child windows app floating #1779

Closed
asdf8601 opened this issue Jun 13, 2023 · 4 comments
Closed

make child windows app floating #1779

asdf8601 opened this issue Jun 13, 2023 · 4 comments

Comments

@asdf8601
Copy link

Hey,

Thank your for this awesome project (I'm a big fan of i3 in linux and this fill the gap).

Here is my issue:
image

I want to make popups and dialog child windows floating to avoid the above behaviour.

Any idea of how to get it done?

Thanks in advance!

@koekeishiya
Copy link
Owner

This is a bit hard to do on a general basis, because in most cases these child windows do not report enough information for yabai to determine that it should actually be treated as a floating window. I'd like it to work that way, but haven't really found a way to do so.

You can use the query system to output information about the window and see if it is something that is applicable to filter through using window rules and/or the signal system:

rules:
https://github.com/koekeishiya/yabai/blob/master/doc/yabai.asciidoc#rule

signals:
https://github.com/koekeishiya/yabai/blob/master/doc/yabai.asciidoc#signal

query:
https://github.com/koekeishiya/yabai/blob/master/doc/yabai.asciidoc#query

@kabeersvohra
Copy link

@koekeishiya I have found quite often that these windows have can-resize to be false, I think a good rule would be if the window is unable to be resized then almost certainly it is a popup that should be floated. However in terms of rules, it seems to not be possible to add a rule based upon this, only based upon the app name? Is there some way we can achieve this? Thanks

@kabeersvohra
Copy link

I take that back, I found another issue on this, and this solved the issue for me (as long as the window is not resizable)

#1317 (comment)

@CassandraCat
Copy link

I take that back, I found another issue on this, and this solved the issue for me (as long as the window is not resizable)

#1317 (comment)

I tried it, but it didn't work.

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

4 participants