summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Fedin <fedin-ilja2010@ya.ru>2023-05-15 10:29:46 +0400
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-05-15 10:34:00 +0000
commitda24dc9eec438a891e6d36b1bced349563101b34 (patch)
tree3700097dc9a14662d42dc3936dc0d27230bc93e7
parentddd153dd5ea8453d6bbe92ee8433303e1293f3f7 (diff)
downloadqtwayland-da24dc9eec438a891e6d36b1bced349563101b34.tar.gz
Client: fix a typo in minimum window size handling
Amends 42128ec10e2365b5235a80ebc0bb429402b8f95f Change-Id: I3919b913aa7b09f9d0863344d72e9f6e14a8634a Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 2887b351ed70e1151cb88755ecc63fa99c12b0f1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp b/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp
index 8e41e5a7..86aca92c 100644
--- a/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp
+++ b/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp
@@ -424,7 +424,7 @@ void QWaylandXdgSurface::setSizeHints()
maxHeight = 0;
// It will not change min/max sizes if invalid.
- if (minWidth > maxHeight || minHeight > maxHeight)
+ if (minWidth > maxWidth || minHeight > maxHeight)
return;
m_toplevel->set_min_size(minWidth, minHeight);