mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:07:46 +00:00
Taskbar: Don't create buttons for modal windows
Since the user can't really do much with windows that are blocked by a modal window, there is no point in showing multiple buttons.
This commit is contained in:
parent
bbdf0665fc
commit
a269e3e573
5 changed files with 114 additions and 24 deletions
|
@ -42,6 +42,10 @@ private:
|
|||
void create_quick_launch_bar();
|
||||
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 update_window_button(::Window&, bool);
|
||||
::Window* find_window_owner(::Window&) const;
|
||||
|
||||
virtual void wm_event(GUI::WMEvent&) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue