forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 4e3661b33e0df73fbff64c11fdd6cc2eae071dc4Filtered to src/protocols/virtual_pointer.rsClear filter

2026-08-24

virtual_pointer: Use saturating math for the v120 valueWitteShadovv · 5f2bbe7
virtual_pointer: Use saturating math for the v120 value

discrete arrives from the client as an i32, so discrete * 120 overflows
past 17895697 and panics with overflow-checks on. The virtual pointer is
behind client_is_unrestricted, so this isn't reachable from a sandboxed
client, but it still shouldn't be able to abort the compositor.

2026-09-08

Update SmithayPatrick Gaskin · 6a9ed5b
Update Smithay

- ext-foreign-toplevel-list
- input event time
- misc bugfixes and refactors

2026-07-19

2025-11-17

virtual_pointer: fix multiplier for axis_discrete (#2684)Ferdinand Schober · Unverified08fbdef
virtual_pointer: fix multiplier for axis_discrete (#2684)

The virtual-pointer protocol accepts discrete scroll events, not axis-value120.
Therefore the value received from a client must be multiplied by 120 before
being handed to mutate_axis_frame.

https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/879243e370de6167d2c49510396f937b1a93fab5/types/wlr_virtual_pointer_v1.c#L183
https://github.com/feschber/lan-mouse/issues/318
https://github.com/feschber/lan-mouse/pull/325
https://github.com/feschber/lan-mouse/issues/329

2025-01-18

implement `keyboard-shortcuts-inhibit` and `wlr-virtual-pointer` (#630)sodiboo · Unverified0584dd2
implement `keyboard-shortcuts-inhibit` and `wlr-virtual-pointer` (#630)

* stub keyboard-shortcuts-inhibit and virtual-pointer impls

* implement keyboard-shortcuts-inhibit

* implement virtual-pointer

* deal with supressed key release edge-case; add allow-inhibiting property

* add toggle-keyboard-shortcuts-inhibit bind

* add InputBackend extensions; use Device::output() for absolute pos events

* add a `State` parameter to the backend exts and better document future intent

* Add some tests for is_inhibiting_shortcuts

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>