summaryrefslogtreecommitdiff
path: root/src/XGetDProp.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-09-26 10:12:31 +0930
committerPeter Hutterer <peter.hutterer@redhat.com>2008-09-26 10:12:31 +0930
commitf9a5371d43b2c6023745f766d0e8ceff2acdff60 (patch)
tree8dfc870114f3741658bcb1bc205ebf1a5e70f847 /src/XGetDProp.c
parent822bff60ea26c0b509fd4de35099b4d94e9e99de (diff)
Adjust to new property API.
XConfigureDeviceProperty is gone. XQueryDeviceProperty is gone. XGetDeviceProperty doesn't have "pending" anymore.
Diffstat (limited to 'src/XGetDProp.c')
-rw-r--r--src/XGetDProp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/XGetDProp.c b/src/XGetDProp.c
index 909e9d2..5d44f91 100644
--- a/src/XGetDProp.c
+++ b/src/XGetDProp.c
@@ -42,8 +42,7 @@ in this Software without prior written authorization from the author.
int
XGetDeviceProperty(Display* dpy, XDevice* dev,
Atom property, long offset, long length, Bool delete,
- Bool pending, Atom req_type,
- Atom *actual_type, int *actual_format,
+ Atom req_type, Atom *actual_type, int *actual_format,
unsigned long *nitems, unsigned long *bytes_after,
unsigned char **prop)
{
@@ -66,7 +65,6 @@ XGetDeviceProperty(Display* dpy, XDevice* dev,
req->longOffset = offset;
req->longLength = length;
req->delete = delete;
- req->pending = pending;
if (!_XReply (dpy, (xReply *) &rep, 0, xFalse))
{