summaryrefslogtreecommitdiff
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-08-30 14:15:08 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-09-05 16:29:13 +0000
commitaf4f7fe471c21836df4441079ef0fac082542b6f (patch)
treeca0d27783a2ce8c2a9d6f57ffd3c2aa36a00e7ef /src/gui/kernel
parent5462485a59373b9871261910895b9b8987442b48 (diff)
downloadqtbase-af4f7fe471c21836df4441079ef0fac082542b6f.tar.gz
Add QWindowsApplication::setHasBorderInFullScreenDefault() native interface
Allows setting a default for whether the window should have WS_BORDER when in the full screen window state. Task-number: QTBUG-104511 Change-Id: Icbda2faf775bf1973a58f7308637c780d3c4bcd4 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qguiapplication_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qguiapplication_p.h b/src/gui/kernel/qguiapplication_p.h
index 72a3fc78d0..3b30c14dbe 100644
--- a/src/gui/kernel/qguiapplication_p.h
+++ b/src/gui/kernel/qguiapplication_p.h
@@ -364,6 +364,8 @@ struct Q_GUI_EXPORT QWindowsApplication
virtual WindowActivationBehavior windowActivationBehavior() const = 0;
virtual void setWindowActivationBehavior(WindowActivationBehavior behavior) = 0;
+ virtual void setHasBorderInFullScreenDefault(bool border) = 0;
+
virtual bool isTabletMode() const = 0;
virtual bool isWinTabEnabled() const = 0;