]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: That has to be _reply
authorMichael Stapelberg <michael+git@stapelberg.de>
Tue, 24 Feb 2009 12:35:35 +0000 (13:35 +0100)
committerMichael Stapelberg <michael+git@stapelberg.de>
Tue, 24 Feb 2009 12:35:35 +0000 (13:35 +0100)
src/mainx.c

index 96d948f4e6898beb7c7805c792bd415979e2f3d1..a37be683192b60e6541948080e7b1c1b124f2df3 100644 (file)
@@ -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;
         }