Window contents move along with the window!

This commit is contained in:
Andreas Kling 2018-10-12 02:41:27 +02:00
commit 6f6f9bd84d
Notes: sideshowbarker 2024-07-19 18:50:21 +09:00
10 changed files with 48 additions and 7 deletions

View file

@ -105,3 +105,9 @@ Widget::HitTestResult Widget::hitTest(int x, int y)
return { this, x, y };
}
void Widget::setWindow(Window* window)
{
if (m_window == window)
return;
m_window = window;
}