docs/contributing: update instructions to run development kwin

Doesn't seem to work quite right without sourcing the prefix, or while overriding the env variables entirely, for example it is unable to load any window decorations. By sourcing the prefix _and_ including the bin directory in the path, it seems to work as expected - or at least the window decorations load correctly now.
This commit is contained in:
Kristen McWilliam 2023-10-24 12:16:59 +00:00 committed by Vlad Zahorodnii
parent 1cb43e8407
commit ee05ea7912

View file

@ -93,15 +93,16 @@ Running it from your build directory looks like this:
```bash
# from the root of your build directory
source prefix.sh
cd bin
# for wayland, starts nested session: with console
env QT_PLUGIN_PATH=`pwd` dbus-run-session ./kwin_wayland --xwayland konsole
env QT_PLUGIN_PATH="$(pwd)":"$QT_PLUGIN_PATH" dbus-run-session ./kwin_wayland --xwayland konsole
# or for x11, replaces current kwin instance:
env QT_PLUGIN_PATH=`pwd` ./kwin_x11 --replace
env QT_PLUGIN_PATH="$(pwd)":"$QT_PLUGIN_PATH" ./kwin_x11 --replace
```