diff --git a/kernel/windows.cpp b/kernel/windows.cpp index 814f061..8e868d1 100644 --- a/kernel/windows.cpp +++ b/kernel/windows.cpp @@ -820,7 +820,7 @@ bool Window::Move(EsRectangle rectangle, uint32_t flags) { } if ((flags & ES_WINDOW_MOVE_DYNAMIC) - && (isMaximised == !!(flags & ES_WINDOW_MOVE_MAXIMIZED) /* cannot queue resize if changing isMaximised */) + && (~flags & ES_WINDOW_MOVE_MAXIMIZED) && !isMaximised && windowManager.resizeWindow == this && windowManager.resizeStartTimeStampMs + RESIZE_FLICKER_TIMEOUT_MS > KGetTimeInMs()) { windowManager.resizeQueued = true;