Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwaylandqtsurface.cpp
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
5#include <qpa/qwindowsysteminterface.h>
6#include <qpa/qplatformwindow.h>
7
9
10namespace QtWaylandClient {
11
18
23
25{
26 m_pendingPosition = QPoint(-1, -1);
30}
31
51
56
61
75
88
101
106
117
119{
121 return true;
122}
123
128
130{
132 if (win) {
133 const int minWidth = qMax(0, win->windowMinimumSize().width());
134 const int minHeight = qMax(0, win->windowMinimumSize().height());
136
137 int maxWidth = qMax(0, win->windowMaximumSize().width());
139 maxWidth = -1;
142 maxHeight = -1;
144 }
145}
146
158
163
168
173
178
188
198
203
208
213
214}
215
216QT_END_NAMESPACE