Commit graph

38 commits

Author SHA1 Message Date
DreamMaoMao
f25386cca2 fix: fix focus animation error 2025-11-01 19:32:43 +08:00
Szymon Rączka
e0f114af59 feat: add smooth focus transition animation for opacity and border
This adds animated transitions when switching focus between windows.
Both window opacity and border color now fade smoothly using cubic
bezier easing instead of changing instantly.

Implementation:
- Added animation_duration_focus config option (default 400ms)
- Added animation_curve_focus for cubic bezier easing curve
- Window opacity and border color animate together when focus changes
- Uses existing animation infrastructure (baked bezier points)

The feature is backwards compatible and can be disabled by setting
animation_duration_focus=0 in config file.

Changes affect 5 files with minimal additions to keep code clean.
2025-11-01 19:29:28 +08:00
DreamMaoMao
cbfd20bff8 opt: optimize animaiton frame fresh 2025-11-01 19:24:45 +08:00
DreamMaoMao
8f9e9255b3 break change: correct maxmize to maximize 2025-10-28 20:29:37 +08:00
DreamMaoMao
c7591bb6b7 fix: should set global client tag before caculate number of client in arrange 2025-10-18 20:39:39 +08:00
DreamMaoMao
a8905b4384 feat: add layout right_tile 2025-10-15 13:22:49 +08:00
DreamMaoMao
3086130a2c feat: support resize tile window 2025-10-11 11:25:50 +08:00
DreamMaoMao
2ca0b39e6b opt: optimize scratchpad animaiton set 2025-09-24 20:21:52 +08:00
DreamMaoMao
54955a54fc feat: add option scratchpad_cross_monitor 2025-09-24 20:08:32 +08:00
DreamMaoMao
0820e19210 opt: allow tag animaiton when client switch tag 2025-09-21 11:58:01 +08:00
DreamMaoMao
c9843ec05a opt: optimize slide animaiton dir judge 2025-09-09 12:16:43 +08:00
DreamMaoMao
b341ed2d00 opt: optimzie var name 2025-09-09 11:03:07 +08:00
DreamMaoMao
f7624db563 fix: animation none type not effect 2025-09-08 16:27:01 +08:00
DreamMaoMao
72bb085773 opt: optimize frame count when total_frame is 0 2025-09-08 09:03:36 +08:00
DreamMaoMao
1e1e37e92d opt: optimize layer animaiton frame count in multi monitor 2025-09-07 18:00:19 +08:00
DreamMaoMao
06f04eea62 fix: none type open animaiton miss move animaiton 2025-09-06 12:45:03 +08:00
DreamMaoMao
8c1d36cc0d opt: remove useless code 2025-08-27 09:42:01 +08:00
DreamMaoMao
b65700ea6f feat: add isnosizehit option to windowrule 2025-08-27 09:42:01 +08:00
DreamMaoMao
c8513da37e feat: respect the min and max size hint for the floating window 2025-08-27 09:42:01 +08:00
DreamMaoMao
1e4a26a4ca opt: optimize init commit for no anim 2025-08-27 09:42:01 +08:00
DreamMaoMao
cf36b8c5ba format code 2025-08-27 09:42:01 +08:00
DreamMaoMao
65136483ca opt: change struct type name animationScale to BufferData 2025-08-27 09:42:00 +08:00
DreamMaoMao
402ca532b7 opt: optimize none animation fram draw 2025-08-27 09:42:00 +08:00
DreamMaoMao
03d3f992f2 opt: optimize code struct 2025-08-27 09:42:00 +08:00
DreamMaoMao
03a436dee5 opt: optimize var name 2025-08-27 09:42:00 +08:00
DreamMaoMao
8b297d51ae opt: optmize no anim opacity set 2025-08-27 09:42:00 +08:00
DreamMaoMao
de5fc65d84 fix: fix overshot animaiton miss scale end frame 2025-08-27 09:42:00 +08:00
DreamMaoMao
d5c2d3a5ac opt: close animation and actively apply to refresh 2025-08-27 09:42:00 +08:00
DreamMaoMao
b972f7deef fix: miss apply client animaiton type fade 2025-08-27 09:42:00 +08:00
DreamMaoMao
e7a8106151 opt: optimize client scale offset 2025-08-27 09:42:00 +08:00
DreamMaoMao
3e615fc762 feat: layer zoom and fade animation support 2025-08-27 09:42:00 +08:00
DreamMaoMao
0fbb788e45 feat: support animaiton type none 2025-08-27 09:42:00 +08:00
DreamMaoMao
e046053954 feat: support client fade int fade out only animaiton 2025-08-27 09:42:00 +08:00
DreamMaoMao
7f314254f3 fix: border disapeear too fast when in animaiton 2025-08-27 09:42:00 +08:00
DreamMaoMao
43081f385e back: no effect 2025-07-09 11:44:04 +08:00
DreamMaoMao
cee0d0fd80 opt: not tiling window not affect no_radius_when_single option 2025-07-08 09:09:48 +08:00
DreamMaoMao
5a679bf421 fix: error caculate about shadow area 2025-07-07 18:30:26 +08:00
DreamMaoMao
f67a7a1c8b project: optimize project struct 2025-07-06 20:57:38 +08:00