On Wed, 15 Mar 2023 18:59:09 GMT, Nikita Gubarkov <[email protected]> wrote:
>> The `AwtWindow::CheckWindowDPIChange()` hack was introduced for popup >> windows and breaks maximization logic, so reshape window only if it's not >> maximized. > > Nikita Gubarkov has updated the pull request incrementally with one > additional commit since the last revision: > > 8301616: Drag & maximize to another monitor places window incorrectly > (Windows) src/java.desktop/windows/native/libawt/windows/awt_Window.cpp line 374: > 372: WINDOWPOS * wp = (WINDOWPOS *)windowPos; > 373: > 374: // There's no good way to detect partial maximization (e.g. Aero > Snap), Does the bug affect all windows, or only frames/dialog? Can we move this code to the AwtFrame#WmWindowPosChanging? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/12367#discussion_r1146954325
