Commit a94e9260 authored by Christoffer Ackelman's avatar Christoffer Ackelman

QT: Window should always redraw on resize/exposure.

parent a8fb65b4
......@@ -251,7 +251,10 @@ void QtScrollWidgetFlow::handleEvent(QEvent* event)
if (event->type() == QEvent::MouseMove) {
drawer->m_wind.window->update();
}
drawer->event_handler((FlowCtx*)parent_ctx, event, this);
if (event->type() == QEvent::Resize || event->type() == QEvent::Show) {
ctx->set_dirty();
}
drawer->event_handler(ctx, event, this);
}
}
}
......
......@@ -252,6 +252,9 @@ void QtScrollWidgetGlow::handleEvent(QEvent* event)
if (event->type() == QEvent::MouseMove) {
drawer->m_wind.window->update();
}
if (event->type() == QEvent::Resize || event->type() == QEvent::Show) {
ctx->set_dirty();
}
drawer->event_handler(event, this);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment