1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 19:25:10 +00:00

Build Painter & friends into LibC. Use it in the GUI test app.

This commit is contained in:
Andreas Kling 2019-01-14 20:00:42 +01:00
parent bfef4afa6a
commit b673c1a77d
16 changed files with 105 additions and 50 deletions

View file

@ -111,6 +111,8 @@ int Process::gui$invalidate_window(int window_id)
if (it == m_windows.end())
return -EBADWINDOW;
auto& window = *(*it).value;
// FIXME: This should queue up a message that the window server process can read.
// Poking into its data structures is not good.
WindowManager::the().invalidate(window);
return 0;
}