summaryrefslogtreecommitdiffstats
path: root/src/window-lib
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2022-02-23 01:14:19 +0100
committerRobert Griebl <robert.griebl@qt.io>2022-02-25 12:39:26 +0100
commit4c96cd910a7e7fdf29e7c7a20b0b3012dbeffc5b (patch)
treef1043ea49ae62d53c47910e6abc41c557a0d13d4 /src/window-lib
parent1acd11515aaf37b535791ddec0bd9698ad34de59 (diff)
Clarify documentation and warning messages
Change-Id: If168ce2285636b2b062d8cbe5d7bc9390359b3df Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'src/window-lib')
-rw-r--r--src/window-lib/windowmanager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/window-lib/windowmanager.cpp b/src/window-lib/windowmanager.cpp
index 76b501b8..b94591ae 100644
--- a/src/window-lib/windowmanager.cpp
+++ b/src/window-lib/windowmanager.cpp
@@ -823,7 +823,10 @@ void WindowManager::waylandSurfaceMapped(WindowSurface *surface)
if (!app && ApplicationManager::instance()->securityChecksEnabled()) {
qCCritical(LogGraphics) << "SECURITY ALERT: an unknown application with pid" << processId
- << "tried to map a Wayland surface!";
+ << "tried to map a Wayland surface!"
+ << "\n You can disable this check by using the commandline option "
+ "'--no-security' or by adding 'flags/noSecurity: yes' to the "
+ "configuration.";
return;
}