wayland: offer opt out from permission checks
we need this because our paths in CI contexts are mutable and as such the regular permission logic must not be applied
This commit is contained in:
parent
b34a5a4b4b
commit
80ef6295b7
1 changed files with 2 additions and 1 deletions
|
@ -178,7 +178,8 @@ public:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
static bool permissionCheckDisabled = qEnvironmentVariableIntValue("KWIN_WAYLAND_NO_PERMISSION_CHECKS") == 1;
|
||||||
|
if (!permissionCheckDisabled) {
|
||||||
auto requestedInterfaces = client->property("requestedInterfaces");
|
auto requestedInterfaces = client->property("requestedInterfaces");
|
||||||
if (requestedInterfaces.isNull()) {
|
if (requestedInterfaces.isNull()) {
|
||||||
requestedInterfaces = fetchRequestedInterfaces(client);
|
requestedInterfaces = fetchRequestedInterfaces(client);
|
||||||
|
|
Loading…
Reference in a new issue