Ivan Molodetskikh
6169c0312a
Revert "Update dependencies"
...
Something is causing winit deadlock on nested niri exit.
This reverts commit 2ae99224ab .
This reverts commit 0d6843ea67 .
2025-05-16 22:53:54 +03:00
Ivan Molodetskikh
2ae99224ab
Update dependencies
2025-05-16 22:29:09 +03:00
Ivan Molodetskikh
4f63e13385
Deal with new Clippy warnings
2025-05-16 22:21:14 +03:00
Ivan Molodetskikh
46a8f81160
ipc/client: Make compositor version check for JSON parsing errors
...
These can happen when adding new fields to returned structs.
2025-05-15 09:08:53 +03:00
Ivan Molodetskikh
0d6843ea67
Update dependencies
2025-05-13 17:13:35 +03:00
Ivan Molodetskikh
6d083ea497
layout: Fix workspace swipe to same workspace forgetting previous id
...
This manifested much more prominently in the overview.
2025-05-13 08:17:15 +03:00
Ivan Molodetskikh
7a42140d6c
dependabot: Change to weekly
...
Let's see if this fixes it missing from the GitHub UI.
2025-05-12 20:05:33 +03:00
Ivan Molodetskikh
eeb411bef5
wiki: Add Since for touchpad drag
2025-05-12 20:05:10 +03:00
Ivan Molodetskikh
defd4c5c4d
Add center-visible-columns action
2025-05-12 14:13:51 +03:00
dependabot[bot]
7227e64149
build(deps): bump clap in the rust-dependencies group
...
Bumps the rust-dependencies group with 1 update: [clap](https://github.com/clap-rs/clap ).
Updates `clap` from 4.5.37 to 4.5.38
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.37...clap_complete-v4.5.38 )
---
updated-dependencies:
- dependency-name: clap
dependency-version: 4.5.38
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-12 02:58:56 -07:00
Ivan Molodetskikh
c98537a2b0
Implement baba-is-float for layers
2025-05-12 09:10:59 +03:00
Ivan Molodetskikh
9c103f1f1d
Add missing "to" in comment
2025-05-12 08:26:39 +03:00
Ivan Molodetskikh
2aff1ec71a
ipc/socket: Support multiple requests
2025-05-11 21:51:26 -07:00
Jon Heinritz
3466fc0a66
ipc: document the new socket behavior
2025-05-11 21:51:26 -07:00
Jon Heinritz
f917932b3e
ipc: support long living sockets
2025-05-11 21:51:26 -07:00
Ivan Molodetskikh
89b7423ee5
Print urgent status in niri msg windows
2025-05-10 23:43:00 +03:00
Ivan Molodetskikh
a2efaf2816
Add is-urgent window rule matcher
2025-05-10 22:49:55 +03:00
Ivan Molodetskikh
5816691460
Add urgent color support to tab indicators
2025-05-10 22:42:45 +03:00
Ivan Molodetskikh
4b5e9e6cb0
wiki: Document urgent-color
2025-05-10 22:42:45 +03:00
Duncan Overbruck
a8259b4cea
add WindowUrgencyChanged ipc event
2025-05-10 12:14:41 -07:00
Duncan Overbruck
9d3d7cb0e9
add {toggle,set,unset}-urgent cli actions
2025-05-10 12:14:41 -07:00
Duncan Overbruck
398bc78ea0
add urgent border color and gradient
2025-05-10 12:14:41 -07:00
Duncan Overbruck
caa6189448
add workspace urgency ipc event
2025-05-10 12:14:41 -07:00
Duncan Overbruck
86f57c2ec7
add window urgency through xdg-activation-v1
...
urgency is done through activation requests without a serial from a
previous interaction.
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/150
2025-05-10 12:14:41 -07:00
Charlie Le
3cc67897af
Implement IPC for the overview state ( #1526 )
...
* Implement IPC for the overview state
* Update Overview IPC to maintain naming consistency, renamed OverviewToggled to be more clear, simplify overview state request on the server, consolidate ipc refresh
* Fix Overview is_open in IPC client
* Change opened to is_open
* Update niri-ipc/src/lib.rs
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
* Update niri-ipc/src/state.rs
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
* Update src/ipc/client.rs
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
* Update src/ipc/client.rs
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
* Add overview state to EventStreamStatePart replicate and apply
* Fix formatting
* Rename Overview to OverviewState
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-05-09 18:01:01 +03:00
dependabot[bot]
a99489c6c0
build(deps): bump clap_complete in the rust-dependencies group
...
Bumps the rust-dependencies group with 1 update: [clap_complete](https://github.com/clap-rs/clap ).
Updates `clap_complete` from 4.5.49 to 4.5.50
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.49...clap_complete-v4.5.50 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-version: 4.5.50
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-09 07:38:04 -07:00
Ivan Molodetskikh
0763c7e196
Add a clickable button to capture the screenshot
...
Allows tablet-, touch- and mouse-only confirmation.
2025-05-09 15:42:23 +03:00
Ivan Molodetskikh
fb5c5204e8
Extract confirm_screenshot()
2025-05-09 15:41:57 +03:00
Ivan Molodetskikh
d207cd385b
screenshot_ui: Refactor mouse down + touch slot state
2025-05-09 15:10:00 +03:00
Ivan Molodetskikh
99bf2df2b4
Silence new zvariant De/SerializeDict deprecations
...
Questionable exercise converting to serde with much more boilerplate, and
breaking compat with older zvariant versions. Plus maybe this will be
undeprecated back.
2025-05-09 10:35:16 +03:00
Ivan Molodetskikh
09be90f4e6
Add touch selection support to the screenshot UI
2025-05-09 10:28:20 +03:00
Ivan Molodetskikh
dfc42b9d82
Split ScreenshotUi::pointer_down() and up()
2025-05-09 10:28:20 +03:00
Ivan Molodetskikh
e2b9838d89
Extract evt.slot()
2025-05-09 10:28:20 +03:00
Ivan Molodetskikh
816a0d479c
Rename touch_location to pos
2025-05-09 10:28:20 +03:00
Ivan Molodetskikh
84323d10a4
Support tablet input for screenshot UI selection
2025-05-09 10:28:20 +03:00
Ivan Molodetskikh
b956f2775c
Use early return
2025-05-09 10:28:20 +03:00
Ivan Molodetskikh
9ff2f83db0
Simplify ScreenshotUi::pointer_button()
2025-05-09 10:28:20 +03:00
James Sully
7a10f71ee5
refactor(main): eliminate a mut from config load code in main
...
I think this makes for marginally better readability, since you don't
have to wonder whether config_errored is set anywhere else. It's also
slightly terser.
2025-05-09 00:25:54 -07:00
James Sully
ea7add3563
fix: don't try to create a default config at path that exists
...
Currently this bug has no actual consequences, we just continue silently
on AlreadyExists in main()
(this line: https://github.com/YaLTeR/niri/blob/e9c6f08906143c3fec1ad1301d538bef4cbc1978/src/main.rs#L151 ).
This commit just eliminates the redundant attempt.
2025-05-08 21:52:39 -07:00
Ivan Molodetskikh
e9c6f08906
Add a resize transaction client-server test
2025-05-07 22:59:57 +03:00
Ivan Molodetskikh
17343a6740
wiki: Fix Until note location
2025-05-06 17:42:14 +03:00
Ivan Molodetskikh
140d726cd3
wiki: Clarify that layers within backdrop ignore input
2025-05-06 17:40:52 +03:00
Ivan Molodetskikh
c37d3b3442
wiki: Link to output backdrop-color from overview {}
2025-05-06 17:34:40 +03:00
Ivan Molodetskikh
497f186422
Add layout background-color setting
2025-05-06 17:34:40 +03:00
Ivan Molodetskikh
3e31c134a6
Implement place-within-backdrop layer rule
2025-05-06 17:34:40 +03:00
Ivan Molodetskikh
fe682938db
Simplify exclusive focus on layer check
2025-05-06 17:34:40 +03:00
Ivan Molodetskikh
6142922ca4
wiki: Mention Overview behavior on layer-shell page
2025-05-06 17:34:40 +03:00
Ivan Molodetskikh
4b44fba14c
wiki: Clarify FAQ question about border with background
2025-05-06 17:34:40 +03:00
dependabot[bot]
57639ca84c
build(deps): bump the rust-dependencies group across 1 directory with 3 updates
...
Bumps the rust-dependencies group with 3 updates in the / directory: [clap_complete](https://github.com/clap-rs/clap ), [glam](https://github.com/bitshifter/glam-rs ) and [zbus](https://github.com/dbus2/zbus ).
Updates `clap_complete` from 4.5.48 to 4.5.49
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.48...clap_complete-v4.5.49 )
Updates `glam` from 0.30.2 to 0.30.3
- [Changelog](https://github.com/bitshifter/glam-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitshifter/glam-rs/compare/0.30.2...0.30.3 )
Updates `zbus` from 5.5.0 to 5.6.0
- [Release notes](https://github.com/dbus2/zbus/releases )
- [Commits](https://github.com/dbus2/zbus/compare/zbus-5.5.0...zbus-5.6.0 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-version: 4.5.49
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: glam
dependency-version: 0.30.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: zbus
dependency-version: 5.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-06 01:38:03 -07:00
Ivan Molodetskikh
ec88aae77d
wiki: Add Since to numlock
2025-05-05 20:29:55 +03:00