diff options
author | Liang Qi <liang.qi@qt.io> | 2022-03-08 15:41:38 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2022-03-24 10:23:43 +0100 |
commit | 2aa3e55f7f4514cda9c0d0fa6de35f55584810ad (patch) | |
tree | 95ca641bc7721888a5250cbb3ad62b24db3dba35 /src | |
parent | 7d16ee2d7e74f9a269105b65addd208e5ba287d2 (diff) | |
download | qtwayland-2aa3e55f7f4514cda9c0d0fa6de35f55584810ad.tar.gz |
client: add ScreenWindowGrabbing capability
On Wayland, there is no protocol to do it yet.
Task-number: QTBUG-100792
Task-number: QTBUG-101145
Change-Id: I4bfef2920547babf0ccc00a27062d0db77ae5b7f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/client/qwaylandintegration.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/qwaylandintegration.cpp b/src/client/qwaylandintegration.cpp index 3e08b2d0..255aea3e 100644 --- a/src/client/qwaylandintegration.cpp +++ b/src/client/qwaylandintegration.cpp @@ -162,6 +162,8 @@ bool QWaylandIntegration::hasCapability(QPlatformIntegration::Capability cap) co return true; case WindowActivation: return false; + case ScreenWindowGrabbing: // whether QScreen::grabWindow() is supported + return false; default: return QPlatformIntegration::hasCapability(cap); } } |