qtbase-opensource-src/debian/patches/0040-3.patch

21 lines
641 B
Diff

From: =?utf-8?b?6Z+p5ZOB6b6Z?= <hanpinlong@kylinos.cn>
Date: Sat, 16 Mar 2024 15:57:44 +0800
Subject: =?utf-8?b?5ou85o6l5bGPMw==?=
---
src/plugins/platforms/xcb/qxcbscreen.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/plugins/platforms/xcb/qxcbscreen.h b/src/plugins/platforms/xcb/qxcbscreen.h
index 448e336..fd8d962 100644
--- a/src/plugins/platforms/xcb/qxcbscreen.h
+++ b/src/plugins/platforms/xcb/qxcbscreen.h
@@ -90,6 +90,7 @@ public:
bool compositingActive() const;
+ QRect workArea() const { return m_workArea; }
void updateWorkArea();
QRect availableGeometry(const QRect &screenGeometry) const;