mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +00:00
Window contents move along with the window!
This commit is contained in:
parent
64127e0637
commit
6f6f9bd84d
10 changed files with 48 additions and 7 deletions
|
@ -185,6 +185,10 @@ void WindowManager::handlePaintEvent(PaintEvent& event)
|
|||
//printf("[WM] paint event\n");
|
||||
m_rootWidget->event(event);
|
||||
paintWindowFrames();
|
||||
|
||||
for (auto* window : m_windows) {
|
||||
window->event(event);
|
||||
}
|
||||
}
|
||||
|
||||
void WindowManager::event(Event& event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue