summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/XlibInt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/XlibInt.c b/src/XlibInt.c
index c385f4c..873ed8b 100644
--- a/src/XlibInt.c
+++ b/src/XlibInt.c
@@ -662,6 +662,7 @@ XAddConnectionWatch(
UnlockDisplay(dpy);
return 0;
}
+ info_list->watch_data = wd_array;
wd_array[dpy->watcher_count] = NULL; /* for cleanliness */
}