Commits
2026-10-27
Add hidden flag for named workspacesAhmet Kaan Gümüş · 53500dc
Add hidden flag for named workspaces A hidden named workspace exists only while it has windows or is active, like an unnamed one. It is created on demand when referred to by name: focus-workspace, move-*-to-workspace, ext-workspace, or an open-on-workspace window rule.
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-09-22
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>
2026-08-21
Fix new warningsIvan Molodetskikh · dd75865
Fix new warnings I don't necessarily agree with clippy that the `let` change is better, but whatever
2026-08-10
2026-08-09
layout: Match view animation when moving between workspacesIvan Molodetskikh · 97c96a1
layout: Match view animation when moving between workspaces Quite ugly having to pass the anim config everywhere...
2026-08-03
layout: Animate column/tile movement between workspacesIvan Molodetskikh · 782f459
layout: Animate column/tile movement between workspaces It'd probably make visual sense to "propagate" the "animating between workspaces" flag on actions such as consume and expel to the affected tiles, however that sounds somewhat annoying, and isn't all that visible normally.
2026-08-04
2026-07-23
2026-04-16
2026-04-12
2026-03-07
2026-04-14
2026-03-14
layout: Narrow error! condition in update_render_elements()Ivan Molodetskikh · b3f5255
layout: Narrow error! condition in update_render_elements() As far as I can tell, the only place where we can hit this currently is do-screen-transition when no outputs are connected. A check could be trivially added there, but I don't think it's worth enforcing it with an error! -- it's just an optimization (avoiding running unnecessary code) while being rare and difficult to find if it does get logged.
2026-01-30
2025-12-31
Fix missing redraw when floating DnD in overview scrolls workspacesIvan Molodetskikh · cf0b4bc
Fix missing redraw when floating DnD in overview scrolls workspaces Regressed in 396097c3ab67a5482a9d7614992c2c603c90e313
2025-12-25
Refactor rendering to push-based instead of pull-based (#3113)Ivan Molodetskikh · Unverified7f132ec
Refactor rendering to push-based instead of pull-based (#3113) Our current rendering code constructs and returns complex `-> impl Iterator<Item = SomeRenderElement>` types that are collected into a vector at the top level Niri::render(). This causes some problems: - It's hard to write logic around returning iterators. Especially things like conditions, since the returned iterator must have a single type, you can't branch and return different iterators. This will be solved by gen fn but alas it's not here yet. - In many cases, the returned `-> impl Iterator` will borrow from &self leading to complex lifetimes. In certain cases, it is also desirable for it to borrow the &mut NiriRenderer, which causes a lot of issues because it's exclusive (&mut). - Sometimes those issues are too hard to deal with, leading to the escape hatch of allocating and returning a temporary Vec<SomeRenderElement>, like in Scrolling/FloatingSpace::render_elements(). These allocations are unfortunate because they are not really necessary. - It's impossible to use some downstream combinators with this `-> impl Iterator` approach, leading to functions like Smithay's render_elements_from_surface_tree() returning a Vec. This is extra unfortunate because it results in a temporary allocation per Wayland toplevel/popup. - It's hard to properly create profiling spans for the rendering functions since the spans are dropped when the (lazy) iterator is returned and not when all the code actually completes. - The code compiles down to complex state machines in generated iterator types with logic located in Iterator::next(), which makes it annoying to follow in debuggers and profiling tools. This refactor changes the code to push-based iteration: rendering functions receive a push() closure that they call to push their render elements. It solves all of the aforementioned problems: - The logic becomes simpler. Just use conditionals and loops as normal. - No borrowing and lifetimes since we're not returning anything. - All temporary Vecs are removed because the problems they worked around no longer exist. - The new push_elements_from_surface_tree() helper is the same as render_elements_from_surface_tree() but doesn't allocate a temporary Vec since it's not necessary; the push() closure can be passed down. - Profiling spans work normally since the function returns when it ran all of the logic. - The code compiles down to normal functions and calls as expected. Generally, the iterator approach gives these advantages: - You can wrap the returned items in the upstream logic. This is possible in exactly the same way with the push closure. - You can decide to cut the iterator short in the upstream logic. This is not possible with push-based iteration, but we don't actually use it anywhere. I chose the push closure type to be &mut dyn FnMut(SomeRenderElement). It's deliberately not a generic impl FnMut() to avoid duplicating the rendering logic when it's called from several different places. But it's still a normal closure that can capture the outside context. While my original idea for this refactor was to simplify the logic while getting rid of temporary Vecs, it also appears to have brought a consistent 2-3x speedup to the whole render list construction. On an old Eee PC laptop I even observed a 8x speedup. The refactor also results in smaller binary size, presumably due to removing many iterator combinators and state tracking.
2025-12-23
2025-12-18
2025-11-24
layout: Round focus ring/border width to physical at the right placeIvan Molodetskikh · 0920ea9
layout: Round focus ring/border width to physical at the right place Before this, focus ring/border width was incorrectly rounded only for layout config, which does not take into account window rules overrides. This means that setting width in window rules prevented correct rounding altogether. Tests didn't check this because window rules weren't tested. This commit also adds basic window rules random generation, making the tests catch this problem too.
2025-10-30
2025-09-02
2025-10-05
layout: Fix anim jump when releasing interactive move in the overviewIvan Molodetskikh · 80c22b8
layout: Fix anim jump when releasing interactive move in the overview Probably the tile window loc wasn't zoomed when it should. But also the interactive move grab case doesn't consider the window loc at all, which seems to work ok, so let's do that until a problem is found with it.
layout: Unfullscreen before removing for interactive moveIvan Molodetskikh · ad3847f
layout: Unfullscreen before removing for interactive move Several reasons for this: - Remove the sizing code from interactive move duplicated with toggle_window_floating. - Make the tiled size restore too instead of requesting 0x0 (which doesn't work for windows in the Tiled state).
2025-09-30
2025-09-27
Partially implement config includesIvan Molodetskikh · b3ae3ad
Partially implement config includes Subsequent commits will add merging for all leftover sections.
2025-09-26
layout: Move scrolling width resolution to workspaceIvan Molodetskikh · 67ca2cb
layout: Move scrolling width resolution to workspace This is required now with per-output and per-workspace options.
2025-09-25
2025-09-20
Add per-workspace layout configIvan Molodetskikh · d5f4e79
Add per-workspace layout config Per-workspace background-color doesn't work yet.
2025-09-25
2025-09-26
2025-09-25
2025-09-20
2025-09-16
layout: End DnD gesture when toggling interactive move to floatingIvan Molodetskikh · c30e5c9
layout: End DnD gesture when toggling interactive move to floating Effective behavior mostly unchanged (it would end on refresh()), but this was failing the invariant checks.