diff options
author | Andreas Kling <kling@serenityos.org> | 2020-05-19 19:14:20 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-20 08:31:46 +0200 |
commit | 191073000efdd41b5e991c481e20dc966e39ea80 (patch) | |
tree | 4b2b87c1878b73beee906d7b484cb2a2ca091706 /Services/WindowServer/WindowManager.h | |
parent | 10699b347fa4b1d5da958a78c7c4bced2b0d05c9 (diff) | |
download | serenity-191073000efdd41b5e991c481e20dc966e39ea80.zip |
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. :^)
Diffstat (limited to 'Services/WindowServer/WindowManager.h')
-rw-r--r-- | Services/WindowServer/WindowManager.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Services/WindowServer/WindowManager.h b/Services/WindowServer/WindowManager.h index 0a561ab157..a3bb68d084 100644 --- a/Services/WindowServer/WindowManager.h +++ b/Services/WindowServer/WindowManager.h @@ -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&); |