pkgsrc/wm/wmx/patches/patch-ai
2007-10-11 21:26:10 +00:00

32 lines
608 B
Text

$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;