mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +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
|
@ -43,7 +43,7 @@ private:
|
|||
void on_screen_rect_change(const Gfx::IntRect&);
|
||||
NonnullRefPtr<GUI::Button> create_button(const WindowIdentifier&);
|
||||
void add_window_button(::Window&, const WindowIdentifier&);
|
||||
void remove_window_button(::Window&);
|
||||
void remove_window_button(::Window&, bool);
|
||||
void update_window_button(::Window&, bool);
|
||||
::Window* find_window_owner(::Window&) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue