diff options
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r-- | src/plugins/platforms/wasm/qwasmwindow.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/platforms/wasm/qwasmwindow.cpp b/src/plugins/platforms/wasm/qwasmwindow.cpp index 5cdee1a8d0..fd62c63d1b 100644 --- a/src/plugins/platforms/wasm/qwasmwindow.cpp +++ b/src/plugins/platforms/wasm/qwasmwindow.cpp @@ -241,9 +241,8 @@ bool QWasmWindow::isPointOnTitle(QPoint point) const bool QWasmWindow::isPointOnResizeRegion(QPoint point) const { - if (window()->flags().testFlag(Qt::Popup)) - return false; - return resizeRegion().contains(point); + return (window()->maximumSize().isEmpty() || window()->minimumSize() != window()->maximumSize()) + && resizeRegion().contains(point); } QWasmCompositor::ResizeMode QWasmWindow::resizeModeAtPoint(QPoint point) const |