Commits
2025-09-02
2025-10-13
2025-10-05
2025-09-20
2025-09-04
layout/tile: Animate un/fullscreen resizeIvan Molodetskikh · a0d002c
layout/tile: Animate un/fullscreen resize 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.
layout/tile: Remove unused functionIvan Molodetskikh · d0e98d6
layout/tile: Remove unused function As far as I can tell, it was unused even when it was first added.
2025-08-27
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
2025-05-12
2025-03-22
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-17
layout/tile: Don't take fullscreen into account in min/max sizeIvan Molodetskikh · 6a80ec4
layout/tile: Don't take fullscreen into account in min/max size They are used strictly for non-fullscreen size computation.
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.
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.
layout/tile: Use animated tile size for open anim geoIvan Molodetskikh · f30413a
layout/tile: Use animated tile size for open anim geo This is the right value to use as the texture will also match the animated size.
tile: Use OffscreenBuffer for resize animsIvan Molodetskikh · 3b8ce12
tile: Use OffscreenBuffer for resize anims OffscreenBuffer knows how to avoid recreating the texture every frame.
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-02
2025-02-10
2025-02-08
Add alpha parameter to shadersIvan Molodetskikh · 4f05a74
Add alpha parameter to shaders Lets us add extra opacity.
2025-01-23
2025-01-21
2025-01-18
2025-01-15
2025-01-04
2024-12-30
2024-12-29
2024-12-26
2024-12-25
floating: Change from getters to pub(super)Ivan Molodetskikh · 3e13fc3
floating: Change from getters to pub(super) These fields are just data storage. They won't have any logic in getters/setters.
2024-12-24
2024-12-22
2024-12-16
2024-12-04
2024-11-24
2024-11-23
2024-11-02
2024-07-15
2024-10-10
layout: Reduce field visibilityIvan Molodetskikh · ab7d81a
layout: Reduce field visibility The outside code isn't supposed to mess with the fields.