From 191073000efdd41b5e991c481e20dc966e39ea80 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 19 May 2020 19:14:20 +0200 Subject: 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. :^) --- Services/WindowServer/WindowManager.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'Services/WindowServer/WindowManager.h') 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&); -- cgit v1.2.3