summaryrefslogtreecommitdiff
path: root/wm/wmx/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'wm/wmx/patches/patch-ai')
-rw-r--r--wm/wmx/patches/patch-ai32
1 files changed, 32 insertions, 0 deletions
diff --git a/wm/wmx/patches/patch-ai b/wm/wmx/patches/patch-ai
new file mode 100644
index 00000000000..e310aa97f22
--- /dev/null
+++ b/wm/wmx/patches/patch-ai
@@ -0,0 +1,32 @@
+$NetBSD: patch-ai,v 1.1 2007/10/11 21:26:11 adam Exp $
+
+--- Client.C.orig 2000-05-12 09:40:20.000000000 +0200
++++ Client.C
+@@ -662,27 +662,6 @@ char *Client::getProperty(Atom a)
+ return (char *)p;
+ }
+
+-
+-int Client::getAtomProperty(Atom a, Atom type)
+-{
+- char **p, *x;
+- if (getProperty_aux(display(), m_window, a, type, 1L,
+- (unsigned char **)&p) <= 0) {
+- return 0;
+- }
+-
+- x = *p;
+- XFree((void *)p);
+- return (int)x;
+-}
+-
+-
+-int Client::getIntegerProperty(Atom a)
+-{
+- return getAtomProperty(a, XA_INTEGER);
+-}
+-
+-
+ void Client::setState(int state)
+ {
+ m_state = state;