From 2dcf4ad62fe801c27606ac966e7cfeea39d56d2d Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 24 Feb 2009 13:35:35 +0100 Subject: [PATCH] Bugfix: That has to be _reply --- src/mainx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainx.c b/src/mainx.c index 96d948f4..a37be683 100644 --- a/src/mainx.c +++ b/src/mainx.c @@ -473,7 +473,7 @@ int main(int argc, char *argv[], char *env[]) { /* Get pointer position to see on which screen we’re starting */ xcb_query_pointer_reply_t *reply; - if ((reply = xcb_query_pointer(c, xcb_query_pointer(c, root), NULL)) == NULL) { + if ((reply = xcb_query_pointer_reply(c, xcb_query_pointer(c, root), NULL)) == NULL) { printf("Could not get pointer position\n"); return 1; } -- 2.39.5