fix window title: move visibility to bargroup to avoid binding deadlock

This commit is contained in:
Damocles 2026-04-17 09:09:42 +02:00
parent f225d34202
commit 8c2ff6203f
4 changed files with 2 additions and 14 deletions

View file

@ -144,6 +144,7 @@ PanelWindow {
id: _windowTitleGroup
Layout.minimumWidth: 0
clip: true
visible: M.Modules.windowTitle.enable && M.NiriIpc.focusedTitle !== ""
M.WindowTitle {
width: Math.max(0, centerSection.x - _windowTitleGroup.x - 2 * M.Theme.groupPadding - M.Theme.groupSpacing)
}