I’m building a small OSD app using GTK4. Right now I use gtk4-layer-shell, but I want to remove it and rely only on native GTK4 so it works across all display servers (Wayland, X11, etc.).
I just need simple OSD behavior:
- borderless window
- always on top
What is the correct GTK4 way to implement this without gtk4-layer-shell?
Here’s my repo: https://github.com/Nithin-3/ozhium-ollium
This is the function I want to change: https://github.com/Nithin-3/ozhium-ollium/blob/main/src/ui/window.c