Ivan Molodetskikh
04c5b9ad74
Only give keyboard focus to exclusive layer-shell surfaces
...
Workaround until we properly support on-demand.
See: https://github.com/YaLTeR/niri/issues/308
2024-04-25 08:43:37 +04:00
Ivan Molodetskikh
fd6c8c7790
Implement focus-ring window rule
2024-04-24 22:17:53 +04:00
Ivan Molodetskikh
3e598c565e
Implement border window rule
2024-04-24 22:01:26 +04:00
Ivan Molodetskikh
e261b641ed
Filter out the Intel CCS modifiers
2024-04-24 12:26:59 +04:00
Ivan Molodetskikh
dc1d2b706c
Implement ideal scale factor guessing
2024-04-24 12:26:59 +04:00
Ivan Molodetskikh
f9b008163c
Fix spelling mistake
2024-04-23 00:09:42 -07:00
Kirill Chibisov
279659ac90
Unconstrain InputMethod's PopupSurface
...
Make IME popup to be visible inside the parent and not obscure the
text input rectangle region.
Fixes https://github.com/YaLTeR/niri/issues/221
2024-04-23 00:09:42 -07:00
Kirill Chibisov
c2d03d82ce
Use PopupKind instead of PopupSurface
2024-04-23 00:09:42 -07:00
Ivan Molodetskikh
5299590290
Improve cropping logic in resize shader example
...
The previous logic failed to the left of the geometry.
2024-04-22 22:37:47 +04:00
Ivan Molodetskikh
1681ed16d9
Change custom-shader to a prelude-epilogue system
2024-04-22 19:05:11 +04:00
Ivan Molodetskikh
d4bed70884
Advertise Abgr8888 and Xbgr8888 in shm
2024-04-22 17:47:12 +04:00
Ivan Molodetskikh
49f5402669
Implement window-resize custom-shader
2024-04-21 20:16:54 +04:00
Ivan Molodetskikh
2ecbb3f6f8
Remove obsolete comment
2024-04-21 12:28:49 +04:00
Ivan Molodetskikh
6a80078259
README: Bring back NVIDIA issues note
v0.1.5
2024-04-20 17:45:17 +04:00
Ivan Molodetskikh
303c51ee20
README: Update demo video
2024-04-20 17:30:35 +04:00
Ivan Molodetskikh
37a836f462
Bump version to 0.1.5
2024-04-20 16:55:39 +04:00
Ivan Molodetskikh
361ede4bcd
wiki: Mention border background window rule in the FAQ
2024-04-20 16:52:51 +04:00
Ivan Molodetskikh
4fc80124ad
Move info from README to Getting Started wiki page
2024-04-20 11:24:33 +04:00
Ivan Molodetskikh
ba44aeda4a
wiki: Add a FAQ page
2024-04-20 10:24:20 +04:00
sodiboo
b5f7e4bd83
niri_ipc::Socket; niri msg version; version checking on IPC (#278 )
...
* Implement version checking in IPC
implement version checking; streamed IPC
streamed IPC will allow multiple requests per connection
add nonsense request
change inline struct to json macro
only check version if request actually fails
fix usage of inspect_err (MSRV 1.72.0; stabilized 1.76.0)
"nonsense request" -> "return error"
oneshot connections
* Change some things around
* Unqualify niri_ipc::Transform
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2024-04-19 13:02:32 +00:00
Ivan Molodetskikh
b98b95883d
wiki: Attempt to fix broken tip
2024-04-19 14:47:06 +04:00
Ivan Molodetskikh
568c35ff87
Synchronize column removal anim on consume left/right
...
Visible when consuming left/right when always-centered and differing
horizontal view anim.
2024-04-19 13:48:39 +04:00
Ivan Molodetskikh
c4f600bded
wiki: Add missing newline
2024-04-19 12:49:11 +04:00
Ivan Molodetskikh
2c8d1030ab
Separate tile X and Y movement animations
...
Helps with the jank caused by lack of transactions when consuming to the
left/right. Resize triggers a few frames later and restarts the
movement. Now it only restarts the vertical and not the horizontal
movement.
2024-04-19 12:44:24 +04:00
Ivan Molodetskikh
f51dd67f2d
wiki: Add Since to allow-when-locked
2024-04-19 11:29:01 +04:00
Ivan Molodetskikh
3509de6fbf
default-config: Add mic mute bind
2024-04-19 11:14:51 +04:00
Ivan Molodetskikh
0477986a0d
wiki: Move overdamped spring warning higher
2024-04-19 10:50:30 +04:00
Ivan Molodetskikh
914237fa11
Add allow-when-locked=true spawn bind property
2024-04-19 10:49:46 +04:00
Ivan Molodetskikh
0b93c46ce8
animation: Scale initial velocity by slowdown
2024-04-18 21:55:01 +04:00
Ivan Molodetskikh
0fcd981b86
Fix crop + crossfade artifacts
2024-04-18 21:39:27 +04:00
Ivan Molodetskikh
5c4153e26b
wiki: Add a warning about overdamped springs
2024-04-18 20:51:25 +04:00
Ivan Molodetskikh
4d010b7943
animation: Clamp spring value
...
I've had an overdamped spring return an extreme value and trip up
an integer overflow check.
2024-04-18 20:45:37 +04:00
Ivan Molodetskikh
65c342f2cb
config: Rearrange animations in struct
2024-04-18 17:36:12 +04:00
Ivan Molodetskikh
47f6c85f64
Preserve tile move config on animation restarts
...
This fixes a problem where consume-into-column would use resize
animation config instead of the window-movement config in most cases
(since a resize comes very shortly after the move starts).
A similar change to the column movement anim is more detrimental than
it's worth.
2024-04-18 00:30:12 +04:00
Ivan Molodetskikh
3b37f1a557
Sync expel animations
2024-04-17 18:03:17 +04:00
Ivan Molodetskikh
dee0abb713
wiki: Clarify animations
2024-04-17 15:10:42 +04:00
Ivan Molodetskikh
bbb4a64126
Use correct animation config for tile removal
2024-04-17 14:38:34 +04:00
Ivan Molodetskikh
dfe49aa705
Use movement anim for view anim during movement
2024-04-17 14:29:22 +04:00
Ivan Molodetskikh
7ca39baf9e
Add view anim functions with config argument
2024-04-17 14:23:47 +04:00
Ivan Molodetskikh
73e9ef5fe2
Resolve animation defaults during parsing
2024-04-17 14:06:32 +04:00
Ivan Molodetskikh
c40d4f3268
Include resized window in left move
2024-04-17 10:35:46 +04:00
Ivan Molodetskikh
1b496ee21f
Clamp animated window size
2024-04-16 17:44:06 +04:00
Ivan Molodetskikh
bde46dab52
wiki: Mention consume/expel in window-movement anims
2024-04-16 11:02:21 +04:00
Ivan Molodetskikh
21ef5aded8
Remove jumps on consume/expel animation start
2024-04-16 10:48:54 +04:00
Ivan Molodetskikh
b288102866
Implement consume/expel animations
2024-04-16 09:58:39 +04:00
Ivan Molodetskikh
ff42f9b9d3
Start move animations from add/remove window/column
2024-04-16 08:59:15 +04:00
Ivan Molodetskikh
c163e58167
Animate movement and resize on window closing in a column
2024-04-16 08:16:34 +04:00
Ivan Molodetskikh
a9094b43d4
wiki: Mention niri msg outputs for VRR
2024-04-16 07:56:32 +04:00
Ivan Molodetskikh
9e33320b11
wiki: Clarify window-movement animation
2024-04-15 23:07:14 +04:00
Ivan Molodetskikh
c40de5364d
Add vrr_supported/enabled to output IPC
2024-04-15 22:29:25 +04:00