forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 9ff2f83db00aebffb2b7b7fefd23bfd7585926c3Filtered to src/niri.rsClear filter

2025-05-06

2025-05-01

2025-04-20

feat: implement support to enable numlock at startuperdii · 82dabc2
feat: implement support to enable numlock at startup

Signed-off-by: erdii <me@erdii.engineering>

2025-04-29

2025-04-28

Replace Smithay's SolidColor elements with oursIvan Molodetskikh · db09727
Replace Smithay's SolidColor elements with ours

Must've forgotten about these back when I replaced others.

2025-04-27

Fix pointer hiding so that it is no longer annoying (#1426)bogdanov · Unverified758cca5
Fix pointer hiding so that it is no longer annoying (#1426)

* replace `pointer_hidden` with `pointer_visiblity`

* disable hidden pointer after content underneath has changed

* fixes

---------

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

2025-04-25

Implement top-left hot corner to toggle the OverviewIvan Molodetskikh · e6d82d3
Implement top-left hot corner to toggle the Overview

Compared to third-party implementations such as waycorner:

- It works during interactive window move (no surfaces receive pointer
  focus in this case, so this cannot work through layer-shell).
- It works during drag-and-drop.
- It disables itself over fullscreen windows.
- It does not prevent direct scanout.
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.
Extract mapped_hit_data()Ivan Molodetskikh · 25f24f6Browse files

2025-04-12

Simplify conditionIvan Molodetskikh · 9e5e0c8Browse files
Put the top layer above bottom and background layer popupsIvan Molodetskikh · 8635193
Put the top layer above bottom and background layer popups

Makes it consistent with how window popups are below the top layer, also
will make more sense for the overview.

2025-03-29

Add option 'focus-at-startup' to focus a chosen output on start (#1323)lualeet · Unverified8d43efe
Add option 'focus-at-startup' to focus a chosen output on start (#1323)

* Implement default-output

* Fix incorrect wiki string

* Center mouse on start

* Move default-output to Output.focus-at-startup

* fixes

---------

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

2025-03-06

feat: support color picker functionalitynnyyxxxx · 7210045
feat: support color picker functionality

chore: format code

refactor: improve quality

feat: implement gnomes PickColor method

refactor: minor code extraction

misc: fix reviews

fixes

2025-03-13

2025-02-05

2025-03-17

2025-03-16

Keep buffer size when switching dynamic cast to NothingIvan Molodetskikh · 287480b
Keep buffer size when switching dynamic cast to Nothing

Otherwise, we won't actually clear it because it'll become Pending.

2025-03-15

Store cast Stream ID, use it for Redraw requestIvan Molodetskikh · 8c4ebb0
Store cast Stream ID, use it for Redraw request

Unlike StopCast, Redraw targets a specific Cast. Use the stream ID to
identify it.

2025-03-13

Try default when configured xkb keymap fails to compileIvan Molodetskikh · ee0e2c7
Try default when configured xkb keymap fails to compile

Fixes panic at startup.
Wait for lock surfaces before lockingIvan Molodetskikh · 4f16be9
Wait for lock surfaces before locking

Fixes the red flash when locking.

2025-03-09

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.
Store offscreen element id on Mapped instead of user dataIvan Molodetskikh · 12817a6
Store offscreen element id on Mapped instead of user data

We don't need user data for this.

2025-03-09

2025-02-27

Extract encompassing_geo()Ivan Molodetskikh · 70dcd22Browse files

2025-02-26

Implement `niri msg pick-window`bbb651 🇮🇱 · Unverified16405b9
Implement `niri msg pick-window`

* feat: `niri msg pick-window`

* fixes

---------

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

2025-02-17

2025-02-14

2025-02-12

Parse the config on the file watcher threadIvan Molodetskikh · ef80bcc
Parse the config on the file watcher thread

It takes a while, so let's not block the main thread.

2025-02-11

2025-02-10

2025-02-05

Make send_frame() a function on MappedIvan Molodetskikh · bfd81fc
Make send_frame() a function on Mapped

We'll add some extra logic there.

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.