[x11_with_sync] fix indentation on comments
parent
c6b9893340
commit
4062a1ec10
|
|
@ -36,9 +36,9 @@ int main(int argc, char **argv){
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (2) XSyncQueryExtension
|
/* (2) XSyncQueryExtension
|
||||||
** " If display supports the SYNC extension, XSyncQueryExtension
|
** " If display supports the SYNC extension, XSyncQueryExtension
|
||||||
** returns True "
|
** returns True "
|
||||||
*/
|
*/
|
||||||
int event_base = 0;
|
int event_base = 0;
|
||||||
int error_base = 0;
|
int error_base = 0;
|
||||||
Status has_sync_ext = 0;
|
Status has_sync_ext = 0;
|
||||||
|
|
@ -50,9 +50,9 @@ int main(int argc, char **argv){
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (2) XSyncInitialize
|
/* (2) XSyncInitialize
|
||||||
** " If display supports the SYNC extension, XSyncQueryExtension
|
** " If display supports the SYNC extension, XSyncQueryExtension
|
||||||
** returns True "
|
** returns True "
|
||||||
*/
|
*/
|
||||||
int server_event_base = 0;
|
int server_event_base = 0;
|
||||||
int server_error_base = 0;
|
int server_error_base = 0;
|
||||||
Status sync_init = 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
|
** " returns the number of events that have been received from the X
|
||||||
** server but have not been removed from the event queue "
|
** server but have not been removed from the event queue "
|
||||||
**~ NOTE: The docs say this returns the number of events, but it's
|
**~ 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
|
** easier, and possibly more reliable to just use it to check if
|
||||||
** there is at lesat one input.
|
** there is at lesat one input.
|
||||||
*/
|
*/
|
||||||
for (;XPending(display) > 0;){
|
for (;XPending(display) > 0;){
|
||||||
/* (1) /event-handling/manipulating-event-queue/XNextEvent.html
|
/* (1) /event-handling/manipulating-event-queue/XNextEvent.html
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue