summaryrefslogtreecommitdiff
path: root/wm/wmx/patches/patch-ai
blob: e310aa97f2261a7ad62d621741a249b9cbed8d5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;