forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on e259061cbcfaf3a52a9eb2016b949cdc42e45db3

2023-12-19

Implement popup unconstrainingIvan Molodetskikh · e259061
Implement popup unconstraining

Using my new Smithay implementation.
Update SmithayIvan Molodetskikh · 206493bBrowse files
Fix some cases of incomplete search for surface outputIvan Molodetskikh · c29a049
Fix some cases of incomplete search for surface output

Most visibly, fixes screen not immediately redrawing upon layer-shell
popup commits.

There's still a number of places with questionable handling left, mostly
to do with subsurfaces (like, find_popup_root_surface() doesn't go up to
subsurfaces), and session-lock. I don't have good clients to test these.
Add optional fallback to workspace focus/move for window focus/move (#93)Matt Cuneo · Unverifiedd6b62ad
Add optional fallback to workspace focus/move for window focus/move (#93)

* Add optional fallback to workspace focus/move for window focus/move commands

* Refactored to separate commands

* fix indentation

* fix white space

* Stylistic fixes

---------

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

2023-12-18

Make main() return ResultIvan Molodetskikh · 8c3107a
Make main() return Result

For reporting the config validation error.
Move miette set earlierIvan Molodetskikh · 8bcd18aBrowse files

2023-12-09

2023-12-08

Update dependenciesIvan Molodetskikh · cb3ba51Browse files
Live-reload keyboard configIvan Molodetskikh · 2435195
Live-reload keyboard config

This needed the Smithay bump for a deadlock fix.
Update SmithayIvan Molodetskikh · 0b5f232Browse files

2023-12-05

Prevent stealing focus from fullscreen clientsIvan Molodetskikh · 9b3478a
Prevent stealing focus from fullscreen clients

Got hit by that Syncthing disconnect dialog a few times while playing
games.
Track tablet pointer separately, don't sent wl_pointer eventsIvan Molodetskikh · cb1e5d6
Track tablet pointer separately, don't sent wl_pointer events

Tablets are not supposed to send wl_pointer events. This unbreaks GTK 4
clients for example.

2023-12-04

Implement relative-pointerIvan Molodetskikh · 40b633b
Implement relative-pointer

Xwayland actually makes use of it, so I can finally verify that it
works!

2023-12-03

Keep monitor aspect ratio and clamp to monitor for tabletsIvan Molodetskikh · 0e29e7f
Keep monitor aspect ratio and clamp to monitor for tablets

Before, the full tablet area was used, even if the aspect ratio didn't
match the monitor. Also, the coordinates weren't clamped.

2023-11-27

2023-11-26

Add COPR link to READMEIvan Molodetskikh · 1599a01Browse files
Remove wrong commentIvan Molodetskikh · 69e7afc
Remove wrong comment

The node is not commented out.
portals: Set gnome-keyring as the Secrets portalIvan Molodetskikh · 042fd75
portals: Set gnome-keyring as the Secrets portal

Without this it doesn't work at all, with this it at least works with
gnome-keyring installed (for example, on my system).

2023-11-25

Add some crate metadataIvan Molodetskikh · 786c984Browse files
Add and call niri-shutdown.targetIvan Molodetskikh · f085384
Add and call niri-shutdown.target

Sometimes graphical-session.target lingers on after niri quits, leading
to services not being started on a quick relogin. To work around this,
add and run a systemd target that conflicts with
graphical-session.target and forces its shutdown.

2023-11-24

Move first log message to after cli parsingIvan Molodetskikh · df5512c
Move first log message to after cli parsing

So that it doesn't occur during --help etc.
Move command spawning to a threadIvan Molodetskikh · ae47f21
Move command spawning to a thread

It was showing up on profiles causing dropped frames.
Add missing newlineIvan Molodetskikh · 9f24b48Browse files
Remove {WAYLAND_,}DISPLAY from environment if running as a serviceIvan Molodetskikh · c95e4a7
Remove {WAYLAND_,}DISPLAY from environment if running as a service

Notably, running the GNOME Xorg session followed by niri results in a
leftover DISPLAY.
Log version on startupIvan Molodetskikh · d6b8310Browse files
Remove info from default logIvan Molodetskikh · 5b3d626
Remove info from default log

Smithay spams way too much.
Upgrade dependenciesIvan Molodetskikh · a2ad7b0Browse files
tty: Fix clippy warningIvan Molodetskikh · 0d2ed2eBrowse files
layout: Switch to workspace on window activation if not transitioningIvan Molodetskikh · 25fd6a0
layout: Switch to workspace on window activation if not transitioning

This should not be possible to trigger at the moment, but with
xdg-activation it will be.
layout: Change workspace by idx functions to accept 0-based usizeIvan Molodetskikh · 3473965
layout: Change workspace by idx functions to accept 0-based usize

Makes more sense to do the converstion at the top of the call stack.
niri: Add a check for target screencast time below lastIvan Molodetskikh · c9a7946
niri: Add a check for target screencast time below last

I've had this crash my session twice. Not sure what exactly happened.
niri: Rename presentation_time to target_presentation_timeIvan Molodetskikh · c082e2a
niri: Rename presentation_time to target_presentation_time

Makes it clearer that this is a prediction.
tty: Rename vblank offset plot to time since presentationIvan Molodetskikh · 42bb79d
tty: Rename vblank offset plot to time since presentation

Makes it clearer what this is.