Allow animation to blend in saved window image before it was refresh.
Window images are refreshed when, for example, the window's size
changed. With this, animations can blend the window before and after the
size change to have a smoother transition.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
ICCCM states a window can have multiple types, which we didn't handle.
Fixing this also includes a slight change to the dbus interface, I hope
that doesn't break too many people.
Also this is pretty unfixable for `wintypes`, and we are moving to
universal rules anyway, so I didn't bother.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
When implementing animation, which also replaced the old fading code,
the per-window fading option was accidentally broken.
This commit brings it back.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
From the user's perspective they are just random, meaningless numbers.
Doesn't really make sense to write rule against them.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>