Skip to content

Commit 7bd8b03

Browse files
committed
Window redraw and mouse pointer update logic changed
1 parent b596343 commit 7bd8b03

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/widgets/containers/Window.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,8 @@ namespace lsp
359359
if (resize_pending())
360360
sync_size(false);
361361

362+
update_pointer();
363+
362364
if (!redraw_pending())
363365
return STATUS_OK;
364366

@@ -384,9 +386,6 @@ namespace lsp
384386
// lsp_trace("Window %p render time: %ld ms", this, long(time));
385387
// #endif /* LSP_TRACE */
386388

387-
// And also update pointer
388-
update_pointer();
389-
390389
return STATUS_OK;
391390
}
392391

0 commit comments

Comments
 (0)