hyprland: warp cursor onto scratchpads so they get focus on toggle

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-08-17 09:45:51 +01:00
parent a2bdce01eb
commit f4c6e2238a

View file

@ -202,6 +202,11 @@ in
cursor = { cursor = {
no_warps = true; no_warps = true;
# Scratchpads are floated at 80% inset, so opening one leaves the
# cursor over the window underneath and follow_mouse=1 hands focus
# straight back to it. Warp onto the special workspace's window
# instead. 2, not 1: 1 obeys no_warps above and would no-op.
warp_on_toggle_special = 2;
# Force real HW cursor plane (default "auto" can fall back to a # Force real HW cursor plane (default "auto" can fall back to a
# software cursor on i915 → cursor waits a full repaint = laggy). # software cursor on i915 → cursor waits a full repaint = laggy).
no_hardware_cursors = false; no_hardware_cursors = false;