From: Michael Stapelberg Date: Tue, 24 Feb 2009 12:35:35 +0000 (+0100) Subject: Bugfix: That has to be _reply X-Git-Tag: 3.a~158 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2dcf4ad62fe801c27606ac966e7cfeea39d56d2d;p=i3%2Fi3 Bugfix: That has to be _reply --- 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; }