hide window title group when no window has focus

This commit is contained in:
Damocles 2026-04-15 14:27:31 +02:00
parent 1184cdd488
commit 6748649033
2 changed files with 2 additions and 4 deletions

View file

@ -144,9 +144,7 @@ PanelWindow {
M.BarGroup {
Layout.minimumWidth: 0
clip: true
M.WindowTitle {
visible: M.Modules.windowTitle.enable
}
M.WindowTitle {}
}
Item {
Layout.fillWidth: true

View file

@ -8,7 +8,7 @@ import "." as M
M.BarSection {
id: root
spacing: M.Theme.moduleSpacing
visible: root._title !== ""
visible: M.Modules.windowTitle.enable && root._title !== ""
tooltip: root._appId ? root._appId + "\n" + root._title : root._title