x11: Don't set NET_WM_PID when sandboxed
authorMatthias Clasen <mclasen@redhat.com>
Mon, 28 May 2018 16:09:47 +0000 (12:09 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 30 May 2018 00:19:05 +0000 (20:19 -0400)
commit60aeb15116364e42b48e1f99342b9812248450e2
treef020014db50272a24c7a5279e07ff027cf42a0f3
parentc83441ae4a55db5487250821eed4a7bf900e495b
x11: Don't set NET_WM_PID when sandboxed

It is not useful, and some window managers misinterpret it and
add some "runs as root" indication to the window decoration.

See https://github.com/mate-desktop/marco/issues/301
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdksurface-x11.c