[kwin_wayland] Pass socket file descriptor to QtWayland
WaylandServer allows to create a ClientConnection which is intended for QtWayland. This allows us to easily identify our "own" surfaces. The created file descriptor is set as env variable WAYLAND_SOCKET prior to creating the Application. Wayland will unset it after connecting, so we don't need to unset it. This removes the hack of setting and resetting the WAYLAND_DISPLAY environment variable.
Showing with 18 additions and 5 deletions