summaryrefslogtreecommitdiffstats
path: root/x11-libs/gtk+/files/gtk+-1.2.10-cvs-netwmpid.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/gtk+/files/gtk+-1.2.10-cvs-netwmpid.patch')
-rw-r--r--x11-libs/gtk+/files/gtk+-1.2.10-cvs-netwmpid.patch28
1 files changed, 0 insertions, 28 deletions
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
deleted file mode 100644
index a9c7bbf..0000000
--- a/x11-libs/gtk+/files/gtk+-1.2.10-cvs-netwmpid.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- 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 <X11/Xutil.h>
- #include <X11/Xatom.h>
- #include <netinet/in.h>
-+#include <sys/types.h>
-+#include <unistd.h>
-+
- #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;
- }