mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 00:35:06 +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:
parent
dde224fe44
commit
528054d192
1 changed files with 0 additions and 2 deletions
|
@ -262,8 +262,6 @@ bool GWindow::is_visible() const
|
||||||
|
|
||||||
void GWindow::update(const Rect& a_rect)
|
void GWindow::update(const Rect& a_rect)
|
||||||
{
|
{
|
||||||
if (a_rect.is_empty())
|
|
||||||
return;
|
|
||||||
if (!m_window_id)
|
if (!m_window_id)
|
||||||
return;
|
return;
|
||||||
for (auto& pending_rect : m_pending_paint_event_rects) {
|
for (auto& pending_rect : m_pending_paint_event_rects) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue