Skip to content

Commit 9e2c7be

Browse files
committed
FIX: make sure that native widgets are redraw also when window is restored from minimized state
1 parent 6401f7c commit 9e2c7be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/os/win32/host-event.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ static REBINT Check_Modifiers(REBINT flags)
265265
gob->size.x = (i16)LOWORD(xy);
266266
gob->size.y = (i16)HIWORD(xy);
267267
last_xy = xy;
268+
OS_Resize_Window(gob, TRUE);
268269
if (mode) {
269270
//Resize and redraw the window buffer (when resize dragging)
270-
OS_Resize_Window(gob, TRUE);
271271
mode = EVT_RESIZE;
272272
break;
273273
} else {

0 commit comments

Comments
 (0)