NAME

XGrabServer, XUngrabServer - grab the server

SYNTAX

int XGrabServer(Display *_d_i_s_p_l_a_y); int XUngrabServer(Display *_d_i_s_p_l_a_y);

ARGUMENTS

_d_i_s_p_l_a_y Specifies the connection to the X server.

DESCRIPTION

The _X_G_r_a_b_S_e_r_v_e_r function disables processing of requests and close downs on all other connections than the one this request arrived on. You should not grab the X server any more than is absolutely necessary.

The _X_U_n_g_r_a_b_S_e_r_v_e_r function restarts processing of requests and close downs on other connections. You should avoid grabbing the X server as much as possible.

SEE ALSO

XGrabButton(3X11), XGrabKey(3X11), XGrabKeyboard(3X11), XGrabPointer(3X11)
_X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e