aboutsummaryrefslogtreecommitdiff
path: root/src/niri.rs
AgeCommit message (Collapse)Author
2025-08-07Reload libinput settings when trackball, tablet and touch changeIvan Molodetskikh
Somehow missed this before.
2025-08-04pw_utils: Wait for frame completion before queueingIvan Molodetskikh
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.
2025-08-04pw_utils: Store LoopHandleIvan Molodetskikh
2025-08-04pw_utils: Extract shared state to CastInnerIvan Molodetskikh
2025-07-31Implement org.fd.a11y KeyboardMonitorIvan Molodetskikh
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-15Implement fetching xkb options from org.freedesktop.locale1Ivan Molodetskikh
2025-07-14Fix LockedHint locked conditionIvan Molodetskikh
2025-07-14Set logind LockedHint on lock/unlock (#1763)peelz
* 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-14Simplify pointer handling in constraint checkabmantis
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.
2025-07-13Fix new Clippy warningsIvan Molodetskikh
2025-07-13Implement ext-workspaceIvan Molodetskikh
2025-06-13Return app ids with ".desktop" appended to Shell.IntrospectIvan Molodetskikh
This isn't the correct solution, but it seems to work often enough for window icons in the screencast dialog.
2025-06-11Extract output_left/right/up/down/previous/next_of()Ivan Molodetskikh
2025-06-10Ignore lock surfaces from unrelated clientsIvan Molodetskikh
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-09Accept FloatOrInt for input accel_speed, animation slowdownIvan Molodetskikh
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-07Implement xwayland-satellite integrationIvan Molodetskikh
2025-05-23Account for hidden pointer in move_cursor()Ivan Molodetskikh
2025-05-23Set pointer contents straight to nothing when disabling pointerIvan Molodetskikh
2025-05-23input: do not revert fully invisible cursor to hidden (#1650)Duncan Overbruck
* input: do not force redraw to hide an already hidden cursor * more --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-05-19Improve comment in on-demand layer-shell keyboard alive checkIvan Molodetskikh
2025-05-12Implement baba-is-float for layersIvan Molodetskikh
2025-05-09Extract confirm_screenshot()Ivan Molodetskikh
2025-05-09Add touch selection support to the screenshot UIIvan Molodetskikh
2025-05-06Add layout background-color settingIvan Molodetskikh
2025-05-06Implement place-within-backdrop layer ruleIvan Molodetskikh
2025-05-06Simplify exclusive focus on layer checkIvan Molodetskikh
2025-05-01Draw workspace shadows behind all workspacesIvan Molodetskikh
2025-04-30feat: implement support to enable numlock at startuperdii
Signed-off-by: erdii <me@erdii.engineering>
2025-04-29Fix hot corners preventing focus even when disabledIvan Molodetskikh
2025-04-28Add backdrop-color setting to overview {}Ivan Molodetskikh
2025-04-28Replace Smithay's SolidColor elements with oursIvan Molodetskikh
Must've forgotten about these back when I replaced others.
2025-04-27Fix pointer hiding so that it is no longer annoying (#1426)bogdanov
* 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-25Implement interactive move to a new workspace above/betweenIvan Molodetskikh
2025-04-25Implement top-left hot corner to toggle the OverviewIvan Molodetskikh
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.
2025-04-25overview: Add two-finger touchpad scrollIvan Molodetskikh
2025-04-25Implement an OverviewIvan Molodetskikh
2025-04-25Render workspaces separately with gaps betweenIvan Molodetskikh
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-25Put interactively moved window on top of background and bottom layer popupsIvan Molodetskikh
2025-04-25layout: Extract interactive_moved_window_under() and add output checkIvan Molodetskikh
Fixes interactively moved window getting input on every output rather than just its own.
2025-04-25Extract mapped_hit_data()Ivan Molodetskikh
2025-04-25Simplify conditionIvan Molodetskikh
2025-04-25Extract is_layout_obscured_under()Ivan Molodetskikh
2025-04-25Put the top layer above bottom and background layer popupsIvan Molodetskikh
Makes it consistent with how window popups are below the top layer, also will make more sense for the overview.
2025-04-17Rename render_floating_for_output to render_interactive_move_for_outputIvan Molodetskikh
2025-03-29Add option 'focus-at-startup' to focus a chosen output on start (#1323)lualeet
* 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-22feat: support color picker functionalitynnyyxxxx
chore: format code refactor: improve quality feat: implement gnomes PickColor method refactor: minor code extraction misc: fix reviews fixes
2025-03-22Add option to warp-mouse-to-focus to always centerFlorian Finkernagel
2025-03-22Add mod-key and mod-key-nested settingspeelz
2025-03-17Add wait-for-frame-completion-in-pipewire debug flag for NVIDIA screencastsCole Leavitt
2025-03-16Keep buffer size when switching dynamic cast to NothingIvan Molodetskikh
Otherwise, we won't actually clear it because it'll become Pending.