1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:27:46 +00:00

The WindowManager can now react to mouse events on the window title bar.

This commit is contained in:
Andreas Kling 2018-10-12 01:48:18 +02:00
parent 5d125e40d9
commit 22721e6729
4 changed files with 56 additions and 25 deletions

View file

@ -16,7 +16,6 @@ void RootWidget::onPaint(PaintEvent& event)
//printf("RootWidget::onPaint\n");
Painter painter(*this);
painter.fillRect(Rect(0, 0, 800, 600), Color(0x40, 0x40, 0x40));
WindowManager::the().paintWindowFrames();
Widget::onPaint(event);
}