1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 13:55:08 +00:00

GWindow: Don't ignore update(), it should repaint the whole window.

This was causing some apps to have an empty window on startup since the
call to update() in show() was effectively a no-op.
This commit is contained in:
Andreas Kling 2019-04-03 15:52:27 +02:00
parent dde224fe44
commit 528054d192

View file

@ -262,8 +262,6 @@ bool GWindow::is_visible() const
void GWindow::update(const Rect& a_rect)
{
if (a_rect.is_empty())
return;
if (!m_window_id)
return;
for (auto& pending_rect : m_pending_paint_event_rects) {