Bugfix: That has to be _reply

This commit is contained in:
Michael Stapelberg 2009-02-24 13:35:35 +01:00
parent 36aec13860
commit 2dcf4ad62f
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ int main(int argc, char *argv[], char *env[]) {
/* Get pointer position to see on which screen were starting */ /* Get pointer position to see on which screen were starting */
xcb_query_pointer_reply_t *reply; 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"); printf("Could not get pointer position\n");
return 1; return 1;
} }