summaryrefslogtreecommitdiff
path: root/Xi/closedev.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/closedev.c')
-rw-r--r--Xi/closedev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/closedev.c b/Xi/closedev.c
index f68b5231a..af60d7e99 100644
--- a/Xi/closedev.c
+++ b/Xi/closedev.c
@@ -102,7 +102,7 @@ DeleteDeviceEvents(DeviceIntPtr dev, WindowPtr pWin, ClientPtr client)
next = grab->next;
if ((grab->device == dev) &&
(client->clientAsMask == CLIENT_BITS(grab->resource)))
- FreeResource(grab->resource, RT_NONE);
+ FreeResource(grab->resource, X11_RESTYPE_NONE);
}
}