forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on ad3847fad9c8b5ea2c4a3f9def66cd02ffdfd0e2Filtered to src/layout/mod.rsClear filter

2025-10-05

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.

2025-08-28

2025-08-27

Fix typosIvan Molodetskikh · 5b26f58Browse files

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

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.
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.

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