mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
WindowServer: Remove WindowManager::invalidate(Window) API's
Instead, we now tell Windows to invalidate themselves. Window will then pass on the requests to Compositor. My basic idea here is that WindowManager should do window management, dealing with incoming events, moving, resizing, etc. Compositor should deal with painting the window stack in the right order with the least amount of effort. :^)
This commit is contained in:
parent
10699b347f
commit
191073000e
6 changed files with 32 additions and 42 deletions
|
@ -130,8 +130,6 @@ public:
|
|||
const Cursor& move_cursor() const { return *m_move_cursor; }
|
||||
const Cursor& drag_cursor() const { return *m_drag_cursor; }
|
||||
|
||||
void invalidate(const Window&);
|
||||
void invalidate(const Window&, const Gfx::Rect&);
|
||||
void invalidate(const Gfx::Rect&);
|
||||
void invalidate();
|
||||
void flush(const Gfx::Rect&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue