aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'libaxl_create.c')
-rw-r--r--libaxl_create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libaxl_create.c b/libaxl_create.c
index 3d6d7b6..a25566f 100644
--- a/libaxl_create.c
+++ b/libaxl_create.c
@@ -8,6 +8,7 @@ libaxl_create(int fd)
conn = liberror_calloc(1, sizeof(*conn));
if (conn) {
conn->fd = fd;
+ conn->info.struct_version = LIBAXL_DISPLAY_INFO_VERSION;
atomic_init(&conn->xid_last, 0);
INIT_LIBAXL_CONNECTION_RWLOCK(conn);
}