Commits
Commits on
main2026-10-11
default-config: Bind Alt+F4 to close-windowIvan Molodetskikh · 19ad2c5
default-config: Bind Alt+F4 to close-window Common bind.
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-10-11
2026-10-10
Take window geometry into account for IME unconstrainingIvan Molodetskikh · d0cd58e
Take window geometry into account for IME unconstraining Unlike regular popups, IMEs use surface-local coordinates, so we need to adjust the target rect accordingly. Seems to be working correctly now with fcitx5 and combinations of: - toplevel with geometry - with a subsurface at an offset - with a popup with its own geometry - all of this but on a layer surface
2026-10-09
Allow input-method popups to overflow the windowWanten · 39dc219
Allow input-method popups to overflow the window Clamp input-method popups to the output working area instead of the window geometry, so they may extend past the window edge when there is space left on-screen, and only get squeezed at the screen edge. Regular xdg popups and the vertical below/above logic are unchanged.
2026-10-08
Update SmithayPatrick Gaskin · eac4e8e
Update Smithay - send keyboard modifiers after key events - winit pinch and hold gestures - panic fixes on negative toplevel size hints and regions - fix for second input_method when one already exists - don't try to become DRM master on a render node
2026-10-01
github: Add a template for blank issuesIvan Molodetskikh · ed22699
github: Add a template for blank issues To get the LLM checkbox.
tty: Add CTM fallback to set approximate gammaMrFantOlas · c761632
tty: Add CTM fallback to set approximate gamma When neither GAMMA_LUT nor legacy gamma is available, approximate the gamma ramp with a CTM scaling matrix.
tty: Move legacy gamma into GammaPropsIvan Molodetskikh · 9e38dd2
tty: Move legacy gamma into GammaProps Also implement restoring legacy gamma on TTY switch.
tty: Cache GAMMA_LUT_SIZE valueIvan Molodetskikh · 008992f
tty: Cache GAMMA_LUT_SIZE value Should be immutable, no need to query every time.
tty: Fix wrong green/blue variable namesIvan Molodetskikh · 51f5533
tty: Fix wrong green/blue variable names Somehow two mistakes combined and it came out right.
2026-09-25
input: Remove bindings_suppress_keys() testIvan Molodetskikh · e3c5225
input: Remove bindings_suppress_keys() test It's fully covered by the new binds tests.
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
Update Smithay (fix dGPU context regression, fix screenshots regression, no unmapped frame callbacks)Ivan Molodetskikh · 5f4469bBrowse files
Support multiple open-on-output fallbacks for named workspaces (#4618)Artem Timofeev · Unverified9a35d37
Support multiple open-on-output fallbacks for named workspaces (#4618) * feat(config): support multiple open-on-output fallbacks * Change open-on-output to be separate lines --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
winit: Don't update logical output sizeIvan Molodetskikh · e38aa0a
winit: Don't update logical output size It's updated in refresh_ipc_outputs().
2026-09-21
2026-09-20
pw_utils: Preserve the screencast frame cadencez · 4fa7fdf
pw_utils: Preserve the screencast frame cadence Advance the capture timeline by the negotiated interval instead of anchoring every deadline to a late frame. This avoids cumulative scheduling drift and unnecessary frame skips. Restart after a missed interval or a negotiated rate change so idle streams do not accumulate catch-up frames.
2026-09-21
2026-09-20
pw_utils: retain SHM mappings for buffer lifetimez · 6b02f42
pw_utils: retain SHM mappings for buffer lifetime Map each sealed memfd once when allocating its buffer. Keep the mapping owned by Shmbuf and unmap it on drop. Make the caller safety requirements explicit and use slices for copying and clearing.
pw_utils: borrow SHM buffers when rendering and clearingz · 6e6e829
pw_utils: borrow SHM buffers when rendering and clearing Pass the Copy layout to completion metadata instead of cloning the file owner. Release the buffer borrow before queueing to PipeWire.
2026-09-17
2026-09-15
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.
Build png with opt-level 3 in debugIvan Molodetskikh · 4f4a4f0
Build png with opt-level 3 in debug By far the slowest part of taking screenshots in debug.
2026-09-17
2026-09-11
2026-09-15
portals: add oo7 as secret portalHec · 02fdd8e
portals: add oo7 as secret portal Mirroring this commit[1] on gnome-session. oo7 is being considered as a replacement for gnome-keyring in Fedora 45,[2] and is already used in GNOME OS.[3] [1]: https://gitlab.gnome.org/GNOME/gnome-session/-/commit/3a77ebd28b07dac36efadc93df7ebb3dcb3155c9 [2]: https://fedoraproject.org/wiki/Releases/45/ChangeSet#oo7_Secrets_Service_Provider [3]: https://gitlab.gnome.org/GNOME/gnome-build-meta/-/merge_requests/4788 Signed-off-by: Hec <hec@heccraft.com>
feat(input): Signal scroll stop events for continuous sourceseriedaberrie · ef3be05
feat(input): Signal scroll stop events for continuous sources Send a stop event for continuous axis sources, not just finger, when a scroll value of 0 exists on an axis. Technically we are using a deprecated API that does not guarantee that continuous sources will actually terminate scroll sequences with a zero-delta event but it seems to work in practice.
Disallow quit when locked by defaultIvan Molodetskikh · bc4b973
Disallow quit when locked by default Security-wise, I still consider quit when locked to be within our model, because a niri crash has the same effect as quitting. Disallowing quit just makes it harder to imagine this scenario and take precautions. However, upon further consideration, it's probably bad that a random person can walk up to your PC and terminate all running applications (even if they get a locked display manager afterwards). Other desktop environments seem to hide the Log Out action on the lock screen too.
wiki: Add kernel tracing remount & paranoid cmd for profilingIvan Molodetskikh · 1697ba5Browse files
2026-09-14
niri-session: Pass -l to the $SHELLIvan Molodetskikh · 2f87f38
niri-session: Pass -l to the $SHELL Apparently, despite being documented in the bash reference manual and the bash manpage, the `-` prepended to `$0` does *not* make bash exec profile files in its default build configuration. It happened to work so far because distros tend to build bash with a define that makes it work as documented. I've no idea if all reasonable login $SHELLs accept -l as an argument, let's hope they do. This lets us drop dependency on bash.