Ivan Molodetskikh
4a4c972ffb
animation: Add more getters
2025-04-17 11:31:34 +03:00
Ivan Molodetskikh
ba933773ab
animation: Fix restarted() Spring using old from/to
2025-04-16 07:46:10 +03:00
Ivan Molodetskikh
f1cca1a6ca
Back out "chore: update smithay"
...
This backs out commit 763cd564e3 .
There are graphical glitches and a panic.
2025-04-16 07:46:10 +03:00
Simonas Kazlauskas
763cd564e3
chore: update smithay
2025-04-15 13:01:24 -07:00
Ivan Molodetskikh
95eafba346
README: Add link to RustCon talk
2025-04-12 19:38:57 +03:00
Ivan Molodetskikh
df94662435
layout: Take into account idle time between last gesture event and end
...
Fixes cases like: do a quick movement with mouse, then hold it in-place for a
while (no events generated), then release the gesture (it uses all that
built-up speed). This also happens with DnD scroll and makes it go further than
intended.
2025-04-10 10:49:35 +03:00
Ivan Molodetskikh
430b155929
Fix typo in comment
2025-04-06 10:04:40 +03:00
Ivan Molodetskikh
c359d24825
layout: Avoid calling interactive_move_end() in the middle of interactive_move_update()
2025-04-05 09:42:38 +03:00
Ivan Molodetskikh
e8da89a430
input: Fix move-workspace-to-index being one off
2025-04-04 16:51:09 +03:00
Ivan Molodetskikh
feae8c15e6
input: Don't panic on resize edge None when window is Some
...
This can already happen with the tab indicator, it will happen more onwards.
2025-04-04 16:04:18 +03:00
Ivan Molodetskikh
b49f7dcb4d
layout/scrolling: Use slice::fill()
...
Fix new Clippy warning.
2025-04-03 19:25:56 +03:00
Ivan Molodetskikh
60034a57ef
wiki: Document baba-is-float
2025-04-01 10:35:17 +03:00
Ivan Molodetskikh
2adbf33fb6
Update issue template and contact links
2025-04-01 08:55:14 +03:00
Ivan Molodetskikh
28cc84fbd1
wiki: Remove excessive links
2025-03-31 14:35:20 +03:00
Ivan Molodetskikh
e10b968eb0
layout: Reset unfullscreen view offset when starting interactive resize
2025-03-31 14:33:02 +03:00
LunarEclipse
3b1bf34e21
Allow negative shadow spread
2025-03-31 14:13:20 +03:00
LunarEclipse
bd927b54e0
Improved layout shadow documentation
2025-03-31 13:47:47 +03:00
Ivan Molodetskikh
66d3a3bd82
Fix ToggleKeyboardShortcutsInhibit comment
2025-03-31 13:34:49 +03:00
sodiboo
36489f1daa
add toggle-keyboard-shortcuts-inhibit to CLI/IPC ( #1366 )
...
* add toggle-keyboard-shortcuts-inhibit to CLI/IPC
missed it in ef8d5274b8
or https://github.com/YaLTeR/niri/pull/630
or 0584dd2f1e
or whatever
* Update niri-ipc/src/lib.rs
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-03-31 05:00:10 +00:00
peelz
b2c34e7fe9
Fix typo in comment
2025-03-29 07:56:47 -07:00
peelz
dcc291d701
wiki: fix typo natuilus -> nautilus
2025-03-29 07:56:47 -07:00
lualeet
8d43efe4ac
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-29 10:13:59 +00:00
Ivan Molodetskikh
3bb7e60311
layout: Remove duplicated function
2025-03-29 12:50:16 +03:00
Ivan Molodetskikh
d639eb0032
wiki: Document Steam black screen workaround
2025-03-29 11:26:31 +03:00
Ivan Molodetskikh
d91499486e
Make move-window-to-workspace focus=false work across monitors too
2025-03-29 11:17:38 +03:00
Ivan Molodetskikh
f7106f9658
Update dependencies
2025-03-29 10:56:30 +03:00
Ivan Molodetskikh
835490c59a
Update Smithay (protocol sanity checks)
2025-03-29 10:55:41 +03:00
dependabot[bot]
5cde00f6c6
build(deps): bump the rust-dependencies group across 1 directory with 2 updates
...
Bumps the rust-dependencies group with 2 updates in the / directory: [clap](https://github.com/clap-rs/clap ) and [log](https://github.com/rust-lang/log ).
Updates `clap` from 4.5.32 to 4.5.34
- [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.32...clap_complete-v4.5.34 )
Updates `log` from 0.4.26 to 0.4.27
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.26...0.4.27 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-29 00:46:51 -07:00
nyx
7dc015e16b
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-29 07:40:21 +00:00
nyx
0db48e2f1b
Add focus argument to move-window-to-workspace ( #1332 )
...
* layout: add focus flag to move-window-to-workspace
* lib: update comment
* misc: minor dup refactor
* input: format code
* layout: minor nit
* layout: update comment
* input: remove unnecessary conditionals
* misc: replace boolean
* tests: fix the failing one
* layout: change to smart
* ipc: Option<bool> -> bool
* lib: format code
* Rewrite focus doc comment
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-03-29 06:40:08 +00:00
Gavin Zhao
7cfecf4b1b
wiki: Mention file chooser dependency and settings for portals ( #1344 )
...
* wiki: Mention file chooser dependency and settings for portals
* Update wiki/Important-Software.md
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-03-26 12:37:00 -07:00
Ivan Chernov
3142838e9e
wiki: Documented flags for Electron based applications ( #1302 )
...
* wiki: Documented flags for Electron based applications
* Update wiki/Application-Issues.md
Co-authored-by: Kent Daleng <lolexplode@gmail.com >
* wiki: remove Arch specific files for Electron
* Apply suggestions from code review
---------
Co-authored-by: Kent Daleng <lolexplode@gmail.com >
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-03-26 20:56:24 +03:00
Maya Nordland
4534d37266
wiki: Document window rule for steam notifications ( #1341 )
...
* wiki: Document window rule for steam notifications
* Update wiki/Application-Issues.md
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-03-25 07:39:59 +03:00
sodiboo
ec5112d779
nix: update flake inputs and use new libgbm
...
fixes #1312
like
https://github.com/sodiboo/niri-flake/commit/0d54ea3f208f785b29f8396996b6bc8596d11a45
2025-03-23 12:21:55 -07:00
Ivan Molodetskikh
c709696237
Don't block things out for pick-color
...
It's interactive so it's fine.
2025-03-23 11:45:54 +03:00
Ivan Molodetskikh
b271409509
dbus/gnome_shell_screenshot: Fix pick_color return type
2025-03-23 09:31:51 +03:00
Ivan Molodetskikh
500dcca9b7
input: Suppress release from Pick grab clicks
...
Otherwise, it would trigger something inside the window.
2025-03-22 23:14:51 -07:00
nnyyxxxx
7210045b2a
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-22 23:14:51 -07:00
Ivan Molodetskikh
ed20822ce9
layout: Reset unfullscreen view offset when removing window
...
Another old bug found by randomized tests after I expanded the testing mock
window.
2025-03-22 13:57:37 +03:00
Jon Heinritz
e88dfae46f
main: Log to stderr instead of stdout
...
Currently we can't use logging in paths like niri msg that have meaningful
stdout. Logging to stderr makes that possible. Even if we don't want to log
anything in niri msg code paths, it's easy to have something accidentally log.
2025-03-22 12:29:11 +03:00
dependabot[bot]
f95d5a82df
build(deps): bump the rust-dependencies group across 1 directory with 2 updates
...
Bumps the rust-dependencies group with 2 updates in the / directory: [clap_complete](https://github.com/clap-rs/clap ) and [glam](https://github.com/bitshifter/glam-rs ).
Updates `clap_complete` from 4.5.46 to 4.5.47
- [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.46...clap_complete-v4.5.47 )
Updates `glam` from 0.30.0 to 0.30.1
- [Changelog](https://github.com/bitshifter/glam-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitshifter/glam-rs/compare/0.30.0...0.30.1 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
- dependency-name: glam
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-22 01:13:47 -07:00
Florian Finkernagel
7f72c358d5
Add option to warp-mouse-to-focus to always center
2025-03-22 01:00:43 -07:00
Ivan Molodetskikh
0d4f0f00c0
wiki: Document mod-key, mod-key-nested
2025-03-22 00:03:33 -07:00
peelz
f2663c738c
hotkey_overlay: rename ISO_Level{3,5}_Shift to Mod{5,3}
2025-03-22 00:03:33 -07:00
peelz
c3609efb7a
Add mod-key and mod-key-nested settings
2025-03-22 00:03:33 -07:00
Florian Finkernagel
fd1f43673c
Workspace-doc: reference set-workspace-name
2025-03-21 00:37:37 -07:00
Ivan Molodetskikh
9d10def7e8
wiki: Add Workspaces page
2025-03-21 09:26:21 +03:00
Ivan Molodetskikh
e251ca7340
wiki: Document windowed fullscreen
2025-03-18 08:43:20 +03:00
Ivan Molodetskikh
9a527cc571
Track uncommitted windowed fullscreen state
...
Alright, this is the proper implementation. No more flickering.
2025-03-17 22:31:19 -07:00
Ivan Molodetskikh
39f52b7585
Implement toggle-windowed-fullscreen
...
Windowed, or fake, or detached, fullscreen, is when a window thinks that it's
fullscreen, but the compositor treats it as a normal window.
2025-03-17 22:31:19 -07:00