forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 2d82fdd9c8b60f568c8acdb69864cb13e4e9b694Filtered to src/layout/workspace.rsClear filter

2025-11-13

2025-10-18

feat(move-floating-window): percentage change (#2371)Mykyta Onipchenko · Unverified79cdbc5
feat(move-floating-window): percentage change (#2371)

* feat: add percentage change to move-floating-window

* fixes

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>

2025-09-02

2025-09-30

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

Move background rendering to WorkspaceIvan Molodetskikh · a5e2858
Move background rendering to Workspace

Per-output background-color doesn't work yet.

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

layout/scrolling: Track pending vs. current fullscreen for ColumnsIvan Molodetskikh · c832bde
layout/scrolling: Track pending vs. current fullscreen for Columns

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-08-28

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-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-06-09

2025-05-12

2025-03-21

2025-05-01

Normalize workspace shadows to 1080 px tall screen, adjust defaultsIvan Molodetskikh · 9d6037b
Normalize workspace shadows to 1080 px tall screen, adjust defaults

Workspace gaps are dependent on screen size, so it makes sense to make shadows
depend on the screen size to, to avoid them filling more or less of the gap.

2025-04-25

2025-04-24

2025-04-17

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-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-03-13

2025-03-01

Offscreen semitransparent tilesIvan Molodetskikh · 4f5c8e7
Offscreen semitransparent tiles

Now that offscreen does damage tracking, we can reasonably do this. Note this
only affects full-tile opacity, not window opacity.

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

2025-02-11

Hook up are_transitions_ongoing() for floating and tilesIvan Molodetskikh · fd8140e
Hook up are_transitions_ongoing() for floating and tiles

Don't spoil it

2025-02-10

2025-02-08

2025-02-06

2025-02-01

2025-02-10

Account for border in contents_under()Ivan Molodetskikh · 1d88393
Account for border in contents_under()

Fixes pointer clicks going through window borders to a layer surface below,
also fixes window not getting activated in all cases from a border click.
layout: Fix variable namesIvan Molodetskikh · 09a559dBrowse files

2025-02-06

2025-02-05

2025-01-31

2025-01-23