xwm: tell the shell the pid of the X clients
authorGiulio Camuffo <giuliocamuffo@gmail.com>
Tue, 27 Jan 2015 17:10:37 +0000 (19:10 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Mon, 30 Mar 2015 13:04:57 +0000 (16:04 +0300)
commita8e9b415784bf978722caa3d53b4a99a064b060a
tree1966ece1df2a8ada4a21efef4d103f7446cc52d7
parent5d1d2ca32513a04f01e5f4cf938f6aa5ae513fcc
xwm: tell the shell the pid of the X clients

All the surfaces from all the X clients share the same wl_client so
wl_client_get_credentials can't be used to get the pid of the X
clients.
The shell may need to know the pid to be able to associate a surface
with e.g. a DBus service.

[Pekka: fixed trivial merge conflicts.]
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
desktop-shell/shell.c
src/compositor.h
xwayland/window-manager.c