Skip to content

Commit b596343

Browse files
committed
Fixed window redraw
1 parent 438ce51 commit b596343

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main/widgets/containers/Window.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ namespace lsp
376376
xr.nWidth = sSize.nWidth;
377377
xr.nHeight = sSize.nHeight;
378378

379-
render(s, &xr, false);
379+
render(s, &xr, nFlags & REDRAW_SURFACE);
380380
commit_redraw();
381381

382382
// #ifdef LSP_TRACE
@@ -507,9 +507,6 @@ namespace lsp
507507

508508
void Window::draw(ws::ISurface *s, bool force)
509509
{
510-
if (!bMapped)
511-
return;
512-
513510
lsp::Color bg_color;
514511
get_actual_bg_color(bg_color);
515512

0 commit comments

Comments
 (0)