Closed Jaakkonen closed 2 years ago
This is intended behavior. The titlebar is largely for window control. Layer Shell windows can not be controlled by the user this way, so the titlebar gets hidden.
You can probably make it show by calling w.set_decorated(True)
after GtkLayerShell.init_for_window(w)
, or use the workaround you found.
When running a following program:
The header bar is not rendered. I can make it show by making the in-most element in
Gtk.Window
be a vertical box with the header bar and content but then the proportions aren't handled by GTK automatically.Tested on Sway
1.6.1
, GtkLayerShellv0.6.0
and GTKv3.24.{26,31}