kwin/src/helpers/wayland_wrapper
David Edmundson 9692b49219 [kwin_wrapper] pass the wayland socket name via arguments rather than the env
The initial goal of kwin_wrapper was that it would set up all relevant
environment variables that will be used by the clients of kwin.

This meant having to cache old variables before we overrode them and
pass additional settings to the backends for the old wayland_display. It
works, but with X11 about to move too ends up being unnecessarily
complex. In hindsight it's easier for kwin to have the environment
represent the platform it is currently on, and have kwin explicitly set
variables in the QProcessEnvironment of the session it forks itnto.

This patch is changed so that we set the wayland socket name used by the
wrapper explicitly which is then used by the process environment kwin
uses for the main session.
2021-08-17 07:00:08 +00:00
..
CMakeLists.txt Port kwin_wayland_wrapper to Qt/C++ 2021-07-27 12:18:29 +00:00
kwin_wrapper.cpp [kwin_wrapper] pass the wayland socket name via arguments rather than the env 2021-08-17 07:00:08 +00:00
wl-socket.c
wl-socket.h Port kwin_wayland_wrapper to Qt/C++ 2021-07-27 12:18:29 +00:00