Skip to content

Ignore “Always Above” windows during autotiling#429

Merged
schnz merged 2 commits intogTile:masterfrom
itsfernn:always_on_top
Nov 12, 2025
Merged

Ignore “Always Above” windows during autotiling#429
schnz merged 2 commits intogTile:masterfrom
itsfernn:always_on_top

Conversation

@itsfernn
Copy link
Copy Markdown
Contributor

This pull request updates the autotiling logic to ignore windows that are marked as always above (using win.is_above()).

Technical note:

AFAIK this "Always Above" behavior can only be set manuall1 by a hidden keybinding in the dconf editor (the keybinding is called toggle_above)

Rationale:

Just like minimized windows are currently ignored by autotiling, it makes sense to also skip always above windows. These are typically small, floating windows like a webcam preview or sticky overlay, that users intentionally keep visible and untiled.

@schnz
Copy link
Copy Markdown
Member

schnz commented Nov 10, 2025

Hey @itsfernn ,

AFAIK this "Always Above" behavior can only be set manuall1 by a hidden keybinding in the dconf editor (the keybinding is called toggle_above)

The GNOME documentation really isn't helpful in some instances - like this one.

I used to bind the always-on-top setting:
image

And I just spend 30 minutes, figuring out whats the difference to the binding that you mentioned:
image

Turns out they are aliases to one another [1] [2].

I also wonder why they removed this binding from the GUI. It used to be available there.


But anyways: Thanks for the PR. I wonder if the autogrow functionality should really ignore windows that are always on top, though. I would prefer to only respect this property in the autotile function. What do you think?

@itsfernn
Copy link
Copy Markdown
Contributor Author

I don’t use the autogrow feature in my workflow, so I can’t really say.

From my quick testing, it seemed reasonable. If a window is marked “Always on Top,” I’d generally expect other windows to
pass through. After all, if there’s no overlap, there’s no reason to mark a window as “Always on Top.”

That said, I can also see how it might be confusing if autogrow suddenly ignores certain windows without any visual indication of why.

Overall, I don’t have a strong preference either way.

@schnz
Copy link
Copy Markdown
Member

schnz commented Nov 10, 2025

Overall, I don’t have a strong preference either way.

In that case, I would argue that the autogrow feature should be an exception, also because in the gTile UI this feature is described as "Snap window to neighbors".

@itsfernn
Copy link
Copy Markdown
Contributor Author

Sounds good, added the change.

@schnz schnz merged commit 140d40a into gTile:master Nov 12, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants