Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Add more docs on how to debug on Wayland

Dmitry Kazakov2f50fa620444
diff --git a/plugins/platforms/wayland/waylandcolormanagement/WAYLAND_HACKING.md b/plugins/platforms/wayland/waylandcolormanagement/WAYLAND_HACKING.md
index 44c2305c0a..de83f3dfbf 100644
--- a/plugins/platforms/wayland/waylandcolormanagement/WAYLAND_HACKING.md
+++ b/plugins/platforms/wayland/waylandcolormanagement/WAYLAND_HACKING.md
@@ -86,4 +86,12 @@ kwin_wayland --replace
Your app should not die :)
**WARNING:** it will kill all your XWayland apps (and wayland-native apps
-that handle this case incorrectly).
\ No newline at end of file
+that handle this case incorrectly).
+
+## How to debug Wayland protocol interactions
+
+You can set `WAYLAND_DEBUG` environment variable:
+
+```bash
+WAYLAND_DEBUG=1 krita | grep -E 'image|color'
+```
\ No newline at end of file