summaryrefslogtreecommitdiff
path: root/src/xlibclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xlibclient.c')
-rw-r--r--src/xlibclient.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xlibclient.c b/src/xlibclient.c
index a849253..d19d541 100644
--- a/src/xlibclient.c
+++ b/src/xlibclient.c
@@ -267,7 +267,7 @@ NestedClientUpdateScreen(NestedClientPrivatePtr pPriv, int16_t x1,
}
void
-NestedClientTimerCallback(NestedClientPrivatePtr pPriv) {
+NestedClientCheckEvents(NestedClientPrivatePtr pPriv) {
XEvent ev;
while(XCheckMaskEvent(pPriv->display, ~0, &ev)) {
@@ -328,3 +328,8 @@ void
NestedClientSetDevicePtr(NestedClientPrivatePtr pPriv, DeviceIntPtr dev) {
pPriv->dev = dev;
}
+
+int
+NestedClientGetFileDescriptor(NestedClientPrivatePtr pPriv) {
+ return ConnectionNumber(pPriv->display);
+}