forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/niri.rsClear filter

2026-09-22

2026-09-23

input: support press and release bind actionsJustin Spedding · 5331880
input: support press and release bind actions

There's a small behavior change: pressing a bind that is on a cooldown
and has repeat=true won't start the key repeat (it used to). The reason
is that for Press+Release keys it would make it annoying to track when
the release bind should fire (only after the first repeated key rather
than currently when it's recorded on press).

2026-10-20

2026-10-19

Add variable-refresh-rate "fullscreen-only" window ruleIvan Molodetskikh · 8319322
Add variable-refresh-rate "fullscreen-only" window rule

This is the most common request for an is-fullscreen matcher, and the
matcher cannot address this request adequately even if/when it is added.

2026-10-18

input: Update keyboard LEDs on config reloadsAeysol · 12de51d
input: Update keyboard LEDs on config reloads

On a keymap reset, niri restores Num Lock through `set_modifier_state()`
but does not restore the keyboard LEDs. On config reloads, an active Num
Lock modifier is not visible to the user and pressing Num Lock again to
supposedly turn it on will turn it off instead.

2026-10-15

2026-10-13

feat: use the new virtual keyboard/pointer implementations from smithayPatrick Gaskin · 7da6ae4
feat: use the new virtual keyboard/pointer implementations from smithay

Fixes a bunch of virtual input bugs, most notably keybind handling and
virtual keyboard keymaps.

2026-10-11

2026-01-26

Add toggle-touchpad actionbarrulus · 4e3661b
Add toggle-touchpad action

Adds a new action to toggle the touchpad on/off at runtime without
editing the config file. Can be bound to a key or invoked via IPC
with `niri msg action toggle-touchpad`.

The toggle state is combined with the config's `off` setting - both
must allow the touchpad for it to be enabled. State resets on restart
and applies to newly hot-plugged touchpads.

2026-10-11

Return and check overview in contents_under()Ivan Molodetskikh · 9d2841b
Return and check overview in contents_under()

Prevents touch and tablet overview grabs when in the screenshot UI or
locked.
Fix commentIvan Molodetskikh · acfec91Browse files

2026-05-03

input: Track horizontal scroll bindings separately from vertical scroll bindingsPeter Collingbourne · 27706a4
input: Track horizontal scroll bindings separately from vertical scroll bindings

This allows users to set bindings for tilting the scroll wheel left and
right without disabling vertical scrolling.

Fixes #1584

2026-09-24

Add client-server binds testsIvan Molodetskikh · 3f430ad
Add client-server binds tests

Intended to replace the bindings_suppress_keys() test cases.

TestAction is always present since you seemingly can't gate knuffel enum
variants on cfgs.

2026-09-22

2026-09-19

Compute exclusive layer-shell focus in render orderIvan Molodetskikh · e5b0c1a
Compute exclusive layer-shell focus in render order

Before, with two surfaces, the one below would keep keyboard focus
instead of the one on top. This is weird and also inconsistent with
pointer focus.

The on-demand change doesn't affect the logic but is good for
consistency to avoid mistakes going forward.

2026-09-18

Support multiple monitors in portal screenshotIvan Molodetskikh · ee8a04b
Support multiple monitors in portal screenshot

Makes programs like Flameshot and WayShot work.

For different scales, we render at the highest monitor's scale, like
grim.

2026-09-12

feat: implement ext-image-copy-capture for outputs and cursorsPatrick Gaskin · 849c576
feat: implement ext-image-copy-capture for outputs and cursors

No toplevel capture support yet since that'll require more refactoring.

2026-09-08

Update SmithayPatrick Gaskin · 6a9ed5b
Update Smithay

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

2026-08-12

2026-08-11

2026-07-19

Update Smithay + bump MSRV to 1.87Ivan Molodetskikh · 0dce5f1
Update Smithay + bump MSRV to 1.87

- rotated output damage fix
- DP-MST missing monitor fix
- GLFW DnD crash fix
- pointer constraint improvement
- VRAM leak fixes
- dmabuf v6
- ClickGrab track last position
- 32-bit fixes

MSRV bump due to new Smithay requirement.

2026-08-08

Skip refresh_pointer_contents() during tablet tool useIvan Molodetskikh · d66c6ca
Skip refresh_pointer_contents() during tablet tool use

Otherwise it confuses clients with a pointer motion, e.g. when pressing
down a tablet on a partially off-screen window (then it scrolls into
view and after the animation is done, refresh_pointer_contents() moves
the pointer).

2026-07-17

Implement org.freedesktop.a11y.PointerLocatorIvan Molodetskikh · e83850f
Implement org.freedesktop.a11y.PointerLocator

Lets the screen readers query the pointer position.

2026-06-05

2026-06-04

2026-06-05

input: add tablet stylus button triggers and binds (#3745)J. Adly · Unverified4b60cbe
input: add tablet stylus button triggers and binds (#3745)

* input: add tablet stylus button triggers and binds

add tablet stylus button3 and fix stylus bind event flow

* add missing allowed during screenshot check

---------

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

2025-12-31

feat: add per output max-bpc config and ipc actionMichael Yang · c525396
feat: add per output max-bpc config and ipc action

List current max-bpc values in outputs.

fix: remove 16 bpc and change default behaviour

feat(ipc): add max_bpc and format to output

fix: bpc on output config change

docs: add bpc to Outputs

feat: use atomic commits for connector properties

fix: drm `value_type` breaking change

fix: minor changes based on PR review

Rename bpc to max-bpc.

Add max-bpc output action.

refactor: add set_connector_properties

Fix niri-config parse test.

fix: bail when outside valid max bpc range

2026-04-30

layout: Change active_tile_visual_rectangle() to windowIvan Molodetskikh · 0650e7b
layout: Change active_tile_visual_rectangle() to window

New functionality needs window specifically, and existing logic will be
fine with window too.

2026-02-07

2026-04-20

2026-04-19

Guard against removed outputs in several placesIvan Molodetskikh · d09fa27
Guard against removed outputs in several places

Output::from_resource() succeeds even after the global has been disabled
and removed from niri. Clients operating on these disabled outputs could
cause panics in several places because niri assumed the output existed.

2026-01-23

2026-04-16

Call on_maybe_dnd_ended() in two more placesIvan Molodetskikh · 892470a
Call on_maybe_dnd_ended() in two more places

This is not exhaustive and not a good solution. A proper Smithay
callback is needed: https://github.com/Smithay/smithay/issues/1996

2026-04-12

2026-03-07

2026-03-14

2026-03-10

Refactor screencopy/screencast to render via the damage tracker, fix cursorless screencopy with damageIvan Molodetskikh · 19866f8
Refactor screencopy/screencast to render via the damage tracker, fix cursorless screencopy with damage

The damage tracker stores framebuffer effect cache, so we want anything
that renders repeatedly to render through a reused damage tracker. This
way, the cache persists and is reused across renders.

This will be important for the non-xray background effects.

2026-02-02

2026-04-14

2026-02-18

2026-02-06