forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 055a94de3d3b792adfb6842bdddd8eab6384164fFiltered to src/niri.rsClear filter

2025-08-07

Reload libinput settings when trackball, tablet and touch changeIvan Molodetskikh · 055a94d
Reload libinput settings when trackball, tablet and touch change

Somehow missed this before.

2025-08-03

pw_utils: Wait for frame completion before queueingIvan Molodetskikh · f49ecc3
pw_utils: Wait for frame completion before queueing

Without explicit sync, we have no way to signal the PipeWire consumer when the
rendering is done. So, wait until it's done before giving it the frame.

This should fix flickering screencasts on NVIDIA.
pw_utils: Store LoopHandleIvan Molodetskikh · 43577f4Browse files

2025-08-02

2025-07-16

Implement org.fd.a11y KeyboardMonitorIvan Molodetskikh · 672bf3e
Implement org.fd.a11y KeyboardMonitor

Makes Orca work with niri:
- keyboard watching and announcing everywhere (not just GTK 3 windows)
- grabs for the Orca modifier (with double-press to pass through) and keystrokes

2025-07-15

2025-07-14

Set logind LockedHint on lock/unlock (#1763)peelz · Unverified25cbb73
Set logind LockedHint on lock/unlock (#1763)

* Set logind LockedHint on lock/unlock

* fixup! Set logind LockedHint on lock/unlock

- use warn!() instead of error!()
- extract dbus call into a separate method

* fixup! Set logind LockedHint on lock/unlock

- Update LockedHint in refresh_and_flush_clients

* fixup! Set logind LockedHint on lock/unlock

woops

* fixup! Set logind LockedHint on lock/unlock

- only call SetLockedHint if niri was run with `--session`

* fixes

---------

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

2025-07-13

Simplify pointer handling in constraint checkabmantis · 51b6a49
Simplify pointer handling in constraint check

Minor change so that `get_pointer()` (which has a lock) does not get
called twice. Also moved the call to `current_location()` to the scope
where it is needed.
Fix new Clippy warningsIvan Molodetskikh · dfb3683Browse files

2025-06-14

Implement ext-workspaceIvan Molodetskikh · ce9ba00Browse files

2025-06-13

Return app ids with ".desktop" appended to Shell.IntrospectIvan Molodetskikh · f3f6e79
Return app ids with ".desktop" appended to Shell.Introspect

This isn't the correct solution, but it seems to work often enough for window
icons in the screencast dialog.

2025-06-11

2025-06-10

Ignore lock surfaces from unrelated clientsIvan Molodetskikh · 0407ac5
Ignore lock surfaces from unrelated clients

gtklock doesn't mind the fact that it got denied the lock, and just creates a
new lock surface anyway. And we happily replace the running lock with it.

2025-06-09

Accept FloatOrInt for input accel_speed, animation slowdownIvan Molodetskikh · 6bab912
Accept FloatOrInt for input accel_speed, animation slowdown

Technically cfg-breaking due to introducing min/max limits at parse time, but
values outside these limits were invalid anyway, so maybe it's fine?

2025-06-04

2025-05-23

input: do not revert fully invisible cursor to hidden (#1650)Duncan Overbruck · Unverified7fdb918
input: do not revert fully invisible cursor to hidden (#1650)

* input: do not force redraw to hide an already hidden cursor

* more

---------

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

2025-05-19

2025-05-12

2025-05-09

2025-05-06

2025-05-01

2025-04-20

feat: implement support to enable numlock at startuperdii · 82dabc2
feat: implement support to enable numlock at startup

Signed-off-by: erdii <me@erdii.engineering>

2025-04-29

2025-04-28

Replace Smithay's SolidColor elements with oursIvan Molodetskikh · db09727
Replace Smithay's SolidColor elements with ours

Must've forgotten about these back when I replaced others.

2025-04-27

Fix pointer hiding so that it is no longer annoying (#1426)bogdanov · Unverified758cca5
Fix pointer hiding so that it is no longer annoying (#1426)

* replace `pointer_hidden` with `pointer_visiblity`

* disable hidden pointer after content underneath has changed

* fixes

---------

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

2025-04-25

Implement top-left hot corner to toggle the OverviewIvan Molodetskikh · e6d82d3
Implement top-left hot corner to toggle the Overview

Compared to third-party implementations such as waycorner:

- It works during interactive window move (no surfaces receive pointer
  focus in this case, so this cannot work through layer-shell).
- It works during drag-and-drop.
- It disables itself over fullscreen windows.
- It does not prevent direct scanout.
Implement an OverviewIvan Molodetskikh · af1fca3Browse files
Render workspaces separately with gaps betweenIvan Molodetskikh · 9571d14
Render workspaces separately with gaps between

This design makes more sense spatially, and is required for the
Overview. Gaps also make it clear how clipping windows to workspace
bounds works.

Background and bottom layer-shell surfaces get duplicated for each
workspace, while top and overlay stay "on top".

2025-04-24

layout: Extract interactive_moved_window_under() and add output checkIvan Molodetskikh · 395b6d9
layout: Extract interactive_moved_window_under() and add output check

Fixes interactively moved window getting input on every output rather
than just its own.
Extract mapped_hit_data()Ivan Molodetskikh · 25f24f6Browse files

2025-04-12

Simplify conditionIvan Molodetskikh · 9e5e0c8Browse files
Put the top layer above bottom and background layer popupsIvan Molodetskikh · 8635193
Put the top layer above bottom and background layer popups

Makes it consistent with how window popups are below the top layer, also
will make more sense for the overview.

2025-03-29

Add option 'focus-at-startup' to focus a chosen output on start (#1323)lualeet · Unverified8d43efe
Add option 'focus-at-startup' to focus a chosen output on start (#1323)

* Implement default-output

* Fix incorrect wiki string

* Center mouse on start

* Move default-output to Output.focus-at-startup

* fixes

---------

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

2025-03-06

feat: support color picker functionalitynnyyxxxx · 7210045
feat: support color picker functionality

chore: format code

refactor: improve quality

feat: implement gnomes PickColor method

refactor: minor code extraction

misc: fix reviews

fixes

2025-03-13

2025-02-05

2025-03-17

2025-03-16

Keep buffer size when switching dynamic cast to NothingIvan Molodetskikh · 287480b
Keep buffer size when switching dynamic cast to Nothing

Otherwise, we won't actually clear it because it'll become Pending.