forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 90ef2020c414df287c4d962b7ebce134f70cfeb7Filtered to src/layout/floating.rsClear filter

2025-08-29

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

screenshot: make selection area modifiable via move/resize keybinds (#1279)nyx · Unverified7dc015e
screenshot: make selection area modifiable via move/resize keybinds (#1279)

* screenshot: make selection area modifiable via keybinds

* input: run fmt

* Reimplement screenshot UI binds in a better way

---------

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

2025-03-01

Added top, left, bottom and right floating windows alignement (#1169)Martino Ferrari · Unverified36b28d9
Added top, left, bottom and right floating windows alignement (#1169)

* feat: added top, left, bottom, right alignement options

* feat: implemented extra alignement

* feat: added example

* doc: updated documentation with extra alignements

* doc: moved example in wiki and typo correction

* fix: relative position should be positive and not negative

* fixes

---------

Co-authored-by: Martino Ferrari <martinogiordano.ferrari@iter.org>
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>

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

2025-02-05

2025-01-31

2025-01-23

2025-01-21

2025-01-04

2024-12-30

2024-12-29

2024-12-28

2024-12-27

Implement default-window-height window ruleIvan Molodetskikh · 6fba4c3
Implement default-window-height window rule

Only works for floats that aren't initially fullscreen atm.
floating: Support default-column-width in most casesIvan Molodetskikh · db6447e
floating: Support default-column-width in most cases

open-fullscreen + open-floating default width is still not supported in this
commit.

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

2024-12-22

2024-12-17

floating: Request size only onceIvan Molodetskikh · c359672
floating: Request size only once

Let floating windows resize themselves and keep that size.

2024-12-18

2024-12-15

layout/floating: Move a function higher upIvan Molodetskikh · 9c205f7
layout/floating: Move a function higher up

Let's group action functions together. Activate is an action and set
width/height too.