mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:07:34 +00:00
WindowServer: Use nearest modeless window for modal Taskbar rects
Modeless windows are guaranteed Taskbar buttons which lets us simplify getting the proper taskbar rect for modals.
This commit is contained in:
parent
df2f479810
commit
5a0472d8d2
2 changed files with 8 additions and 22 deletions
|
@ -292,7 +292,6 @@ public:
|
|||
void request_update(Gfx::IntRect const&, bool ignore_occlusion = false);
|
||||
Gfx::DisjointRectSet take_pending_paint_rects() { return move(m_pending_paint_rects); }
|
||||
|
||||
bool has_taskbar_rect() const { return m_have_taskbar_rect; };
|
||||
void start_minimize_animation();
|
||||
|
||||
void start_launch_animation(Gfx::IntRect const&);
|
||||
|
@ -422,7 +421,6 @@ private:
|
|||
bool m_fullscreen { false };
|
||||
bool m_destroyed { false };
|
||||
bool m_default_positioned { false };
|
||||
bool m_have_taskbar_rect { false };
|
||||
bool m_invalidated { true };
|
||||
bool m_invalidated_all { true };
|
||||
bool m_invalidated_frame { true };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue