diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-12-03 21:34:34 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-03 21:34:34 +0100 |
commit | d111b6ead445590148a4b5f352c925a5f9eb0ca0 (patch) | |
tree | 69bf0017fff0711e7d99c897b6fa7c97d348780b /Applications/Taskbar/main.cpp | |
parent | 51262e7e2d5b3d4859337a5df784ab4f470be41a (diff) | |
download | serenity-d111b6ead445590148a4b5f352c925a5f9eb0ca0.zip |
WindowServer+Taskbar: Animate window frames on minimize/unminimize
We now show a quick window outline animation when going in/out of
minimized state. It's a simple 10 frame animation at 60fps, just to
give a visual cue of what's happening with the window.
The Taskbar sends over the corresponding button rect for each window
to the WindowServer using a new WM_SetWindowTaskbarRect message.
Note that when unminimizing, we still *show* the window right away,
and don't hold off until the animation has finished. This avoids
making the desktop feel slow/sluggish. :^)
Diffstat (limited to 'Applications/Taskbar/main.cpp')
0 files changed, 0 insertions, 0 deletions