Commit graph

63 commits

Author SHA1 Message Date
DreamMaoMao
36995cca1f feat: add fadein fadeout curve 2025-12-12 12:14:32 +08:00
DreamMaoMao
9bf87a9610 opt: change unsigned int to uint32_t 2025-12-02 16:58:04 +08:00
DreamMaoMao
acd59da797 fix: fullscreen and maximize window overflow screen 2025-11-16 07:19:41 +08:00
DreamMaoMao
5ae883ce52 fix: fix border color change when swithc mon focus 2025-11-14 12:23:53 +08:00
DreamMaoMao
beaa4ce902 feat: add windowrule option isnoshadow,isnoanimation 2025-11-06 19:01:33 +08:00
DreamMaoMao
eb7c7b83d6 fix: border color not change when focus change when disable animaitons 2025-11-05 10:14:44 +08:00
DreamMaoMao
9d9a4356e3 feat: Calculate animation curve by time points rather than passed frames 2025-11-04 13:40:34 +08:00
DreamMaoMao
0261a16e6b opt: optimize focus animaiton init value 2025-11-02 12:18:44 +08:00
DreamMaoMao
5d819aed83 opt: optimize client live check 2025-11-02 12:04:25 +08:00
DreamMaoMao
f5669bb9c6 opt: optimize layer fadein animaiton 2025-11-02 09:31:10 +08:00
DreamMaoMao
565a77ad3a opt: optimize fade in animaiton 2025-11-02 09:25:13 +08:00
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
8c48e2391b opt: make tag animation more consistent 2025-10-21 16:27:25 +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
457534bd41 opt: set all monitor pointer init value to NULL 2025-10-06 14:29:12 +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
e7ff2a49f4 opt: optimzie code struct 2025-09-21 11:58:05 +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
0da68f025a fix: miss judge global animations option in layer close animation 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
beffcdd61d opt: optimize layer animation action set 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
87625f916a opt: optimize zoom animaiton break 2025-08-27 09:42:00 +08:00
DreamMaoMao
bd7981be9a opt: optimize layer animaiton code struct 2025-08-27 09:42:00 +08:00
DreamMaoMao
e2a1844094 opt: optimize layer area bound code struct 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
1de39f82cf opt: optimize scale offset 2025-08-27 09:42:00 +08:00