Commits
2025-08-28
2025-08-27
2025-06-16
2025-08-16
niri-ipc: Add window positions and sizes (#1265)yrkv · Unverifiedaf30cc8
niri-ipc: Add window positions and sizes (#1265) * Add window sizes and positions to the IPC * basic fixes * report window_loc instead of window pos * clean ups * make scrolling indices 1-based * add printing to niri msg windows * don't include render offset in floating tile pos --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-08-12
layout: Remove by-ref animation_snapshot() getterIvan Molodetskikh · c9873a0
layout: Remove by-ref animation_snapshot() getter It was used in only one place, and that place was due for an update to use the cached data.
2025-06-11
Add deactivate-unfocused-windows debug flag (#1706)sashomasho · Unverified8d7b22d
Add deactivate-unfocused-windows debug flag (#1706) * force xdg deactivation on invisable workspaces This debug option provides a workaround for many Chromium-based chat applications that fail to show notifications when they're active in a workspace that's not currently visible and don't have keyboard focus Signed-off-by: Alex Yosifov <sashomasho@gmail.com> * fixes --------- Signed-off-by: Alex Yosifov <sashomasho@gmail.com> Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-05-16
2025-05-12
2025-03-21
add window urgency through xdg-activation-v1Duncan Overbruck · 86f57c2
add window urgency through xdg-activation-v1 urgency is done through activation requests without a serial from a previous interaction. https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/150
2025-05-01
2025-04-30
2025-04-26
overview: Activate window upon dropping from interactive moveIvan Molodetskikh · 78e3dafBrowse files
2025-04-25
Fix panic when interactively moving to invisible workspaceIvan Molodetskikh · d2a1cf5
Fix panic when interactively moving to invisible workspace Introduced in the interactive move between workspaces commit.
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.
2025-04-17
2025-04-04
2025-04-20
Remove cancellation from swipe gesturesIvan Molodetskikh · 59a4224
Remove cancellation from swipe gestures It only worked for workspace switch, and even there it was more confusing than helpful.
2025-04-25
Add missing bounds checks to move-workspace actionsIvan Molodetskikh · 74b0162
Add missing bounds checks to move-workspace actions Fixes panics.
2025-04-17
layout: Remove width and is_full_width from InsertHintIvan Molodetskikh · fdbc485
layout: Remove width and is_full_width from InsertHint They were unused.
2025-04-15
layout: Don't pass scale to render unnecessarilyIvan Molodetskikh · 7e253d2
layout: Don't pass scale to render unnecessarily These parts of the layout already know their scale.
2025-04-12
2025-04-04
2025-03-29
Make move-window-to-workspace focus=false work across monitors tooIvan Molodetskikh · d914994Browse files
Add focus argument to move-window-to-workspace (#1332)nyx · Unverified0db48e2
Add focus argument to move-window-to-workspace (#1332) * layout: add focus flag to move-window-to-workspace * lib: update comment * misc: minor dup refactor * input: format code * layout: minor nit * layout: update comment * input: remove unnecessary conditionals * misc: replace boolean * tests: fix the failing one * layout: change to smart * ipc: Option<bool> -> bool * lib: format code * Rewrite focus doc comment --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-03-17
Implement toggle-windowed-fullscreenIvan Molodetskikh · 39f52b7
Implement toggle-windowed-fullscreen Windowed, or fake, or detached, fullscreen, is when a window thinks that it's fullscreen, but the compositor treats it as a normal window.
layout: Don't forget to call on_commit() for the interactively moved windowIvan Molodetskikh · 1a0fab0Browse files
layout: Test that interactively moved window is not pending fullscreenIvan Molodetskikh · 27a715aBrowse files
2025-03-13
2025-03-01
Keep track of RenderElementStates in offscreensIvan Molodetskikh · b351f6f
Keep track of RenderElementStates in offscreens This both avoids sending frame callbacks to surfaces invisible on the offscreen (fixing Firefox with subsurface compositing in the process), and fixes searching for split popups during the resize animation.
2025-02-27
2025-02-18
Don't snap after DnD scroll if view position didn't changeIvan Molodetskikh · dca187d
Don't snap after DnD scroll if view position didn't change Otherwise, any DnD breaks temporarily centered columns.
2025-02-17
2025-02-16
2025-02-15
Implement scrolling the view during DnDIvan Molodetskikh · ca1500a
Implement scrolling the view during DnD DnD is external to the layout, so we just inform it when one is ongoing.