aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-09-17layout/tile: Animate un/fullscreen resizeIvan Molodetskikh
This turned out to require quite a few changes. We keep track of the tile resize animation progress separately now, in order to provide a resizing black fullscreen backdrop for non-resizable windows. The window is always rendered in the middle of the tile, which once again aids with the resizing black fullscreen backdrop. The backdrop itself will fade in from transparency so that it's less jarring. The resize animation now keeps track of the fullscreen progress to deal with the case where an unfullscreen resize is interrupted by another non-fullscreen resize. In this case, the fullscreen progress continues animating to avoid sudden disappearance of the fullscreen backdrop. Some things like border visibility switch to this fullscreen progress once again to avoid jarring appearance/disappearance. The border radius animates in accordance with the fullscreen progress to match the visuals.
2025-09-17layout/tile: Remove unused functionIvan Molodetskikh
As far as I can tell, it was unused even when it was first added.
2025-09-17layout/tile: Extract two variablesIvan Molodetskikh
2025-09-17layout/scrolling: Animate tiles_origin changing on un/fullscreenIvan Molodetskikh
2025-09-17layout/scrolling: Track pending vs. current fullscreen for ColumnsIvan Molodetskikh
We already did that for Tiles, but for Columns we only tracked what was effectively pending fullscreen. We used it in several places where the current fullscreen should've been used instead, like the tile origin or the view offset. This commit splits the two and makes every place use the right one. Fixes things like tiles briefly appearing at y=0 between issuing the fullscreen command and the tile committing in response to the fullscreen configure.
2025-09-17layout/scrolling: Store view_offset_before_fullscreen when column actually ↵Ivan Molodetskikh
goes fullscreen Simplifies the handling and correctly saves/restores view offset for clients that are slow to fullscreen, as can be seen from the fixed test.
2025-09-17tests/fullscreen: Add broken slow client unfullscreen view offset ↵Ivan Molodetskikh
restoration test
2025-09-17tests: Move complete_animations() to FixtureIvan Molodetskikh
2025-09-17layout/tests/fullscreen: Add broken removing tile view pos restore testIvan Molodetskikh
2025-09-17Add unfullscreen view offset restoration testsIvan Molodetskikh
2025-09-17layout/tests: Extract fullscreen tests to submoduleIvan Molodetskikh
2025-09-16Make hot corners configurable, including per-output (#2108)Kai Koehler
* Add corner selection in config * Add hot corner docs * Working per-monitor hot corners Handle defaults * run cargo fmt --all * Fix hot corners in is_sticky_obscured_under * Change default to fall back to gesture hot corners if output hot corners are unset * Add hot corner output config docs * Support fractional scaling * Trigger hot corners over widgets * Improve float handling Fixed YaLTeR/niri/pull/2108 * Refactor * Bug Fixes * Amend docs Fix styling Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Integrate code review Move is_inside_hot_corner * fixes --------- Co-authored-by: Aadniz <8147434+Aadniz@users.noreply.github.com> Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-09-16Include play/stop/prev/next media keys in the default config. (#2395)Anagram
* Included example for media keys: play/pause, stop, previous and next in the default config * Update resources/default-config.kdl --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-09-16layout: End DnD gesture when toggling interactive move to floatingIvan Molodetskikh
Effective behavior mostly unchanged (it would end on refresh()), but this was failing the invariant checks.
2025-09-16layout: Fix crash when a window opens next-to an only interactively moved ↵Ivan Molodetskikh
window with no outputs
2025-09-15layout/tests: Mark operations_dont_panic as slowIvan Molodetskikh
It's by far the slowest test (disabling it cuts cargo test time by 2x), and it hadn't caught much in the past months.
2025-09-14niri.spec.rpkg: Add xwayland-satellite dependencyIvan Molodetskikh
It landed in stable Fedora.
2025-09-12Update cargo-rpm versionIvan Molodetskikh
2025-09-08Don't clear DISPLAY/WAYLAND_DISPLAY/WAYLAND_SOCKET on WSL with --session (#2354)ilyx
* use winit backend on WSL * Update src/main.rs --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-09-07wiki: Remove rofi-wayland mentionJan Ivica
2025-09-03wiki: Add Name and Logo pageIvan Molodetskikh
2025-09-03wiki: Set vertical-align: middle for tablesIvan Molodetskikh
Should match GitHub better.
2025-09-03wiki/Accessibility: Mention more current limitationsIvan Molodetskikh
2025-09-01wiki/Xwayland: Added a mention of Native Wayland for gaming compat (#2321)yuitayuun
* wiki/Xwayland: Added a mention of Native Wayland for gaming compatibility * Update docs/wiki/Xwayland.md --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-08-31wiki/Accessibility: Clarify workspace announcementIvan Molodetskikh
2025-08-31wiki/Accessibility: Mention xfce4-appfinderIvan Molodetskikh
2025-08-30README: Add logoIvan Molodetskikh
2025-08-30Update READMEIvan Molodetskikh
2025-08-30wiki/Accessibility: Add demo videoIvan Molodetskikh
2025-08-29niri.spec.rpkg: Update licensesIvan Molodetskikh
2025-08-29Bump version to 25.08Ivan Molodetskikh
2025-08-29Change xwl-s spawning error messages from info! to warn!Ivan Molodetskikh
2025-08-29wiki/Nvidia: Mention that screencast flickering was fixedIvan Molodetskikh
2025-08-29default-config: Use spawn-sh moreIvan Molodetskikh
It's easier to understand.
2025-08-29wiki: Update Xwayland-related infoIvan Molodetskikh
2025-08-29Improve filtering for tests that need EGLIvan Molodetskikh
This way we don't skip the layout animation tests.
2025-08-29wiki/Integrating-niri: Mention to remove manual xwl-s startupIvan Molodetskikh
2025-08-29wiki/Packaging-niri: Mention shell completionsIvan Molodetskikh
2025-08-29wiki/Accessibility: Expand info from feedbackIvan Molodetskikh
2025-08-29.gitattributes: Update img pathIvan Molodetskikh
2025-08-29layout/floating: Fix resetting preset width idx instead of heightIvan Molodetskikh
2025-08-29Add cycle back feature for presets of column/window width/height.Said Kadrioski
2025-08-29feat: cubic-bezier curve for animation (#2059)Horu
* feat: bezier curve for animation * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-08-27wiki/Integrating-niri: Add desktop components sectionIvan Molodetskikh
2025-08-27wiki/Integrating-niri: Add Since to screen readersIvan Molodetskikh
2025-08-27Fix typosIvan Molodetskikh
2025-08-27wiki: Add Integrating niri pageIvan Molodetskikh
2025-08-27config: Rename DebugConfig => DebugIvan Molodetskikh
2025-08-27config: Clean up animations struct namesIvan Molodetskikh
2025-08-27config: Move workspace into its own moduleIvan Molodetskikh