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>
This commit is contained in:
parent
e228149142
commit
b3395051bf
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user