From ca8060bcbd25a9bda6382b80343c826545cc4701 Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 11 Oct 2007 21:26:10 +0000 Subject: Fix PR#36236 --- wm/wmx/patches/patch-ah | 13 +++++++++++++ wm/wmx/patches/patch-ai | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 wm/wmx/patches/patch-ah create mode 100644 wm/wmx/patches/patch-ai (limited to 'wm/wmx/patches') 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; -- cgit v1.2.3