fix: quickshell bar spacing

This commit is contained in:
johannes committed 2026-09-06 14:37:40 +02:00
1 parent fb7781e4a7
commit b1afff322f
9 files changed
+169 -134

No files matched your search

@@ -168,11 +168,17 @@ PanelWindow {
anchors.fill: parent
focus: true
Connections {
target: pickerWindow
function onVisibleChanged() {
if (pickerWindow.visible) keyHandler.forceActiveFocus();
}
// The layer-shell surface only gets real keyboard focus from the
// compositor asynchronously after it's first mapped, so a single
// forceActiveFocus() call right on visible-toggle can silently lose
// input the first time this panel is shown in a session. There's no
// reliable signal for "the compositor granted focus now" on a
// wlr-layer-shell surface, so just retry until it actually sticks.
Timer {
interval: 30
repeat: true
running: pickerWindow.visible && !keyHandler.activeFocus
onTriggered: keyHandler.forceActiveFocus()
}
Keys.onEscapePressed: (event) => {