NAME

XSynchronize, XSetAfterFunction - enable or disable synchronization

SYNTAX

int (*XSynchronize(Display *_d_i_s_p_l_a_y, Bool _o_n_o_f_f))(); int (*XSetAfterFunction(Display *_d_i_s_p_l_a_y, int (*_p_r_o_c_e_d_u_r_e)()))();

ARGUMENTS

_d_i_s_p_l_a_y Specifies the connection to the X server.
_p_r_o_c_e_d_u_r_e Specifies the procedure to be called.
_o_n_o_f_f Specifies a Boolean value that indicates whether to enable
or disable synchronization.

DESCRIPTION

The _X_S_y_n_c_h_r_o_n_i_z_e function returns the previous after function. If onoff is _T_r_u_e, _X_S_y_n_c_h_r_o_n_i_z_e turns on synchronous behavior. If onoff is _F_a_l_s_e, _X_S_y_n_c_h_r_o_n_i_z_e turns off synchronous behavior.

The specified procedure is called with only a display pointer. _X_S_e_t_A_f_t_e_r_F_u_n_c_t_i_o_n returns the previous after function.

SEE ALSO

XSetErrorHandler(3X11)
_X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e