From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 1 Sep 2019 00:00:32 +0200 Subject: Initial import --- x11-libs/gtk+/files/gtk+-1.2.10-cvs-netwmpid.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 x11-libs/gtk+/files/gtk+-1.2.10-cvs-netwmpid.patch (limited to 'x11-libs/gtk+/files/gtk+-1.2.10-cvs-netwmpid.patch') diff --git a/x11-libs/gtk+/files/gtk+-1.2.10-cvs-netwmpid.patch b/x11-libs/gtk+/files/gtk+-1.2.10-cvs-netwmpid.patch new file mode 100644 index 0000000..a9c7bbf --- /dev/null +++ b/x11-libs/gtk+/files/gtk+-1.2.10-cvs-netwmpid.patch @@ -0,0 +1,28 @@ +--- gtk-1.2.10/gdkwindow.c Tue Jan 22 16:42:19 2002 ++++ gtk/gdk/gdkwindow.c Sat Oct 13 17:10:16 2001 +@@ -28,6 +28,9 @@ + #include + #include + #include ++#include ++#include ++ + #include "gdk.h" + #include "config.h" + #include "gdkinput.h" +@@ -488,6 +491,15 @@ + XFree (class_hint); + } + ++ { ++ gulong pid = getpid (); ++ ++ XChangeProperty (private->xdisplay, private->xwindow, ++ gdk_atom_intern ("_NET_WM_PID", FALSE), ++ XA_CARDINAL, 32, ++ PropModeReplace, ++ (guchar *)&pid, 1); ++ } + + return window; + } -- cgit v1.2.3