mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:07:36 +00:00
Taskbar: Update and clear taskbar button rectangles
We need to update all button rectangles when the layout changed. We also need to clear the taskbar button rectangle when we remove a modal window button, so that WindowServer uses the parent's taskbar button rectangle for the minimize animation.
This commit is contained in:
parent
2552e3be00
commit
4897eb8c3e
4 changed files with 33 additions and 4 deletions
|
@ -34,6 +34,9 @@ class TaskbarButton final : public GUI::Button {
|
|||
public:
|
||||
virtual ~TaskbarButton() override;
|
||||
|
||||
void update_taskbar_rect();
|
||||
void clear_taskbar_rect();
|
||||
|
||||
private:
|
||||
explicit TaskbarButton(const WindowIdentifier&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue