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
Ivan Molodetskikh
69f723d68a
Implement vertical window move animations
2024-04-15 21:19:09 +04:00
Ivan Molodetskikh
568fbe26fe
Avoid continuous redrawing during horizontal gesture
2024-04-14 14:29:41 +04:00
Ivan Molodetskikh
f8412ecff3
wiki: Add since to VRR
2024-04-14 13:15:52 +04:00
Ivan Molodetskikh
3c6d8062c5
Add variable-refresh-rate flag
2024-04-14 09:37:42 +04:00
Ivan Molodetskikh
40374942db
tty: Shorten non-desktop check
2024-04-14 08:08:09 +04:00
Ivan Molodetskikh
2c873044e8
Restore view offset upon unfullscreening
2024-04-13 20:07:37 +04:00
Ivan Molodetskikh
1336a581a6
tile: Fix returned snapshot size
2024-04-13 18:05:56 +04:00
Ivan Molodetskikh
8b0dc1902c
Set window-resize animation config for view-offset anim caused by resize
2024-04-13 14:57:55 +04:00
Ivan Molodetskikh
9d5f1c7ef7
Unify Animation- and RenderSnapshot
2024-04-13 14:16:07 +04:00
Ivan Molodetskikh
71be19b234
Implement window resize animations
2024-04-13 11:07:23 +04:00
Ivan Molodetskikh
4fd9300bdb
Fix typo
2024-04-13 10:58:32 +04:00
Ivan Molodetskikh
2bb6dd8c48
Move unmapped check to a pre-commit hook
2024-04-13 09:12:32 +04:00
Ivan Molodetskikh
7319f37f7a
Add render_to_encompassing_texture()
2024-04-12 20:38:51 +04:00
Ivan Molodetskikh
0cd149c939
animation: Tweak clamped duration logic
2024-04-10 12:09:54 +04:00
Ivan Molodetskikh
5383a0591f
Use clamped animations where it makes sense
2024-04-10 11:28:49 +04:00
Ivan Molodetskikh
0c68609063
animation: Implement clamped value and duration
2024-04-10 11:28:02 +04:00
Ivan Molodetskikh
6cd3f96a10
Fix building on stable
2024-04-10 09:26:56 +04:00
Ivan Molodetskikh
1888696567
Reimplement window closing anim in an efficient way
...
- Keep a root surface cache to be accessible in surface destroyed()
- Only snapshot during / right before closing, rather than every frame
- Store textures rather than elements to handle scale and alpha properly
2024-04-10 09:14:04 +04:00
Ivan Molodetskikh
b9e789619f
wiki: Fix wrong since annotation spot
2024-04-09 23:56:40 +04:00
Ivan Molodetskikh
dd011f1012
Implement window closing animations
2024-04-09 23:42:01 +04:00
Ivan Molodetskikh
301a2c0661
layout: Fix view jumps when removing a window on the left
2024-04-09 23:42:01 +04:00