summaryrefslogtreecommitdiff
path: root/wm/wmx/patches
diff options
context:
space:
mode:
authoradam <adam>2007-10-11 21:26:10 +0000
committeradam <adam>2007-10-11 21:26:10 +0000
commitca8060bcbd25a9bda6382b80343c826545cc4701 (patch)
treefe86fffbc2fca746a8607dc89b51a8d075638c06 /wm/wmx/patches
parentb24badfe276f71ae20f2556c124b1c7802a3b8a3 (diff)
downloadpkgsrc-ca8060bcbd25a9bda6382b80343c826545cc4701.tar.gz
Fix PR#36236
Diffstat (limited to 'wm/wmx/patches')
-rw-r--r--wm/wmx/patches/patch-ah13
-rw-r--r--wm/wmx/patches/patch-ai32
2 files changed, 45 insertions, 0 deletions
diff --git a/wm/wmx/patches/patch-ah b/wm/wmx/patches/patch-ah
new file mode 100644
index 00000000000..eb244e5f1cb
--- /dev/null
+++ b/wm/wmx/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2007/10/11 21:26:11 adam Exp $
+
+--- Client.h.orig 2000-05-12 09:40:20.000000000 +0200
++++ Client.h
+@@ -184,8 +184,6 @@ private:
+ WindowManager *const m_windowManager;
+
+ char *getProperty(Atom);
+- int getAtomProperty(Atom, Atom);
+- int getIntegerProperty(Atom);
+
+ // accessors
+ Boolean getState(int *);
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;