fix: quickshell bar spacing

This commit is contained in:
johannes committed 2026-09-17 19:56:15 +02:00
1 parent 3edf76b4c7
commit b08b0816f4
9 files changed
+169 -134

No files matched your search

@@ -21,6 +21,19 @@ Rectangle {
function focusInput() { input.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 a 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: field.visible && !input.activeFocus
onTriggered: input.forceActiveFocus()
}
height: 50
color: Theme.colors.surface
radius: Theme.geometry.radiusSmall