diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-12 18:31:28 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-12 18:31:28 +0200 |
| commit | aed6d2ba552a43d91dd283d567b837a2b7712697 (patch) | |
| tree | 2a2f2bb09d69741402c0bc75c150ae240ed88e95 /appearance/Theme.qml | |
| parent | 53c548cbd490ec61d86a12680584b77f88b840dc (diff) | |
| download | quickshell-aed6d2ba552a43d91dd283d567b837a2b7712697.tar.gz quickshell-aed6d2ba552a43d91dd283d567b837a2b7712697.zip | |
docs(window-switcher): dispatch args are Lua, and focus raises in monocle
Two findings from testing against the running compositor, both of which
would have cost time during implementation.
Hyprland 0.56.2 evaluates dispatch arguments as Lua, so the form this
design previously specified, dispatch focuswindow address:0x..., is a
syntax error rather than a command. It fails silently unless stderr is
read: the window does not focus and nothing is reported. hypr-windows.sh
was written with hl.dsp.focus({ window = "..." }) for that reason, and
this design had misread that as legacy oddity.
The fullscreen batch sequence from that script is not carried over.
Workspaces 1 and 8 are monocle and 4 and 5 are scrolling, so a stacked
window is the normal case here rather than an edge case, and the worry
was that focus would land without the window becoming visible. Tested
with two stacked windows on workspace 1: focus alone raised the buried
one, confirmed on screen in both directions, so no alterzorder and no
batch sequence are needed.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SYg4wYHq5XNbiVmMeKRb1S
Diffstat (limited to 'appearance/Theme.qml')
0 files changed, 0 insertions, 0 deletions
