Repository navigation
viewport 0.7.0
The Hyprland input and rule parity work: three per-device input settings, a
focus-follows-the-pointer inset, per-window blur rules, and a tablet pen that
reaches every output. The full list is in the
changelog; the
headline is below.
Input
scroll_buttonpins the button scrolling waits for whilescroll_method
ison_button_down, named by its evdev code — the middle button is 274, not
2.scroll_button_lockmakes that button toggle scroll mode rather than
having to be held, anddrag_3fgdrags with three fingers down instead of a
tap followed by a drag. libinput makes the last one the same device setting
tap_dragprograms, so the two share one state. All three are set at runtime
throughconfig.inputand carried in theconfigevent'sinput.
Focus
cursor.follow_mouse_shrinkinsets the invisible rectangle a window
presents to focus-follows-the-pointer by the given logical pixels on each
side, so a pointer over a client's shadow or decoration margin no longer
moves the keyboard. Clicks, the wheel and drags hit the window wherever the
pointer really is; only the hover focus is shrunk. Zero — the default — keeps
the whole bounding box.
Rules
- Per-window
blurrules. The compositor draws framebuffer blur behind the
window's whole surface tree — the same effect a client gets from
ext-background-effect-v1— whether or not the window asked for it, popups
included, so a menu over a blurred window blurs too. The shell resolves the
rule per window and sends it over a newview.blurmessage; a rule that
stops matching turns the blur back off, because the shell re-sends current
policy on every rule match. A renderer that cannot run the effect draws the
window sharp, exactly as it would a layer-rule blur. X11 windows keep their
existing path.
Fixed
- A tablet pen that reaches every output. The pen's position maps across the
bounding box of the layout — the same region the pointer is clamped to —
instead of being folded onto the first output: with a second monitor plugged
in, half of every tablet's surface was unreachable. Pressure is unchanged and
needs nothing: libinput normalizes it to 0..1 and the compositor passes it
through as it is.