Set GDK_TOPLEVEL_STATE_TILED
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the feature you'd like**
I don't know if this is even possible, but it would be awesome if the `GDK_TOPLEVEL_STATE_TILED` flag could be set on tiled windows.
https://docs.gtk.org/gdk4/flags.ToplevelState.html
**Additional context**
The reason this feature would be really nice to have is that [Ptyxis](https://gitlab.gnome.org/chergert/ptyxis), the terminal emulator that becomes the default on more and more distros[^1][^2][^3], shrinks the window when closing the last tab, if the window is not tiled: [ptyxis-window.c#L686](https://gitlab.gnome.org/chergert/ptyxis/-/blob/main/src/ptyxis-window.c?ref_type=heads#L686)
[^1]: [Fedora switching to ptyxis](https://forge.fedoraproject.org/workstation/tickets/issues/417)
[^2]: [Ubuntu switching to ptyxis](https://en.ubunlog.com/This-is-Ptyxis--the-new-Gnome-terminal-for-modern-Linux-environments-that-will-use-Ubuntu-25./)
[^3]: [RHEL switching to ptyxis](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/considerations_in_adopting_rhel_10/changes-to-packages#package-replacements)
Contributor guide
Assessment
This issue has not been assessed yet.