XSynchronize man page on HP-UX
[printable version]
XSynchronize() XSynchronize()
Name
XSynchronize – enable or disable synchronization for debugging.
Synopsis
int (*XSynchronize(display, onoff))()
Display *display;
Bool onoff;
Arguments
display Specifies a connection to an X server; returned from
XOpenDisplay().
onoff Specifies whether to enable or disable synchronization. You
can pass False (normal asynchronous mode) or True (enable
synchronization for debugging).
Returns
The previous after function.
Description
XSynchronize() turns on or off synchronous mode for debugging. If
onoff is True, it turns on synchronous behavior; False resets the state
to normal mode.
When events are synchronized, they are reported as they occur instead
of at some later time, but server performance is many times slower.
This can be useful for debugging complex event handling routines.
Under UNIX, the same result can be achieved without hardcoding by set‐
ting the global variable _Xdebug to True from within a debugger.
XSynchronize() returns the previous after function.
For more information, see Volume One, Chapter 3, Basic Window Program.
See Also
XQLength(), XAllowEvents(), XCheckIfEvent(), XCheckMaskEvent(), XCheck‐
TypedEvent(), XCheckTypedWindowEvent(), XCheckWindowEvent(),
XEventsQueued(), XGetInputFocus(), XGetMotionEvents(), XIfEvent(),
XMaskEvent(), XNextEvent(), XPeekEvent(), XPeekIfEvent(), XPending(),
XPutBackEvent(), XSelectInput(), XSendEvent(), XSetInputFocus(), XWin‐
dowEvent().
Xlib - Input Handling XSynchronize()
[top]
List of man pages available for HP-UX
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|