-
-
Notifications
You must be signed in to change notification settings - Fork 649
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
Sticky window is forced to be always on top #255
Comments
This is intended. There is option in yabai to make this optional without editing the source code ( |
The fact that a sticky window will still become top-most even if A sticky window however will be treated as floating implicitly, as it makes no sense for it not to be (can't be managed/tiled on multiple spaces simultaneously). |
Thank you for the response. I've briefly checked the code in Assuming the window is not sticky when called, we are evaluating the following code branch:
There are no conditions here for floating and none of the Then the
Am I guessing correctly that
makes the window top-most? If yes, then there is no way to prevent floating without code modification because window level parameter Is setting the If not and if the assumptions and reasoning are correct, maybe it would be possible to add a global config option to ignore setting window level together with making it sticky? |
I would also like to add that I don't use any of the awesome tiling features of yabai, I use it only to switch between spaces instantly and make windows stay on all spaces. Since yabai also supports window floating command I would love to use the feature (I currently use Afloat to make windows top-most) |
And yes, I am setting the
|
Sticky windows no longer become topmost, regardless of whether or not There is a new option There is also a new option available to rules, This should allow for greater flexibility for the user in a fairly easy-to-use way. You can make any arbitrary window both sticky and topmost using something like the following:
The exact same result can be achieved through a single rule as well, if automating said operation for certain windows is more appealing. |
The window attribute |
Good catch, thanks. Added to window queries as well. |
yabai -m window --toggle sticky
makes window stay on all spaces but also forces window to be always on top of other windows.Toggling
float
on asticky
window makes no difference.Is this a bug or a feature?
Is there a way to make a window stay on all spaces and not always on top?
The text was updated successfully, but these errors were encountered: