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 docs about QT_WAYLAND_RECONNECT

Dmitry Kazakovd340a5439cb3
diff --git a/plugins/platforms/wayland/waylandcolormanagement/WAYLAND_HACKING.md b/plugins/platforms/wayland/waylandcolormanagement/WAYLAND_HACKING.md
index 464e8c0527..44c2305c0a 100644
--- a/plugins/platforms/wayland/waylandcolormanagement/WAYLAND_HACKING.md
+++ b/plugins/platforms/wayland/waylandcolormanagement/WAYLAND_HACKING.md
@@ -76,6 +76,10 @@ KisWaylandAPIColorManager::KisWaylandAPIColorManager()
To test if your app handles the disconnection signal correctly just run:
```bash
+# ensure Qt tries to reconnect on the server restart
+export QT_WAYLAND_RECONNECT=1
+
+# restart the compositor
kwin_wayland --replace
```