fix: quickshell bar spacing

This commit is contained in:
johannes committed 2026-09-21 16:16:35 +02:00
1 parent 73a8f642b8
commit bf21727ad5
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) => {