diff --git a/x11_with_sync.c b/x11_with_sync.c index 35bfb83..ce7b17f 100755 --- a/x11_with_sync.c +++ b/x11_with_sync.c @@ -36,9 +36,9 @@ int main(int argc, char **argv){ } /* (2) XSyncQueryExtension -** " If display supports the SYNC extension, XSyncQueryExtension + ** " If display supports the SYNC extension, XSyncQueryExtension ** returns True " -*/ + */ int event_base = 0; int error_base = 0; Status has_sync_ext = 0; @@ -50,9 +50,9 @@ int main(int argc, char **argv){ } /* (2) XSyncInitialize -** " If display supports the SYNC extension, XSyncQueryExtension + ** " If display supports the SYNC extension, XSyncQueryExtension ** returns True " -*/ + */ int server_event_base = 0; int server_error_base = 0; Status sync_init = 0; @@ -156,8 +156,8 @@ int main(int argc, char **argv){ ** " returns the number of events that have been received from the X ** server but have not been removed from the event queue " **~ NOTE: The docs say this returns the number of events, but it's - ** easier, and possibly more reliable to just use it to check if - ** there is at lesat one input. + ** easier, and possibly more reliable to just use it to check if + ** there is at lesat one input. */ for (;XPending(display) > 0;){ /* (1) /event-handling/manipulating-event-queue/XNextEvent.html