


XFilterEvent(3X11)					   XFilterEvent(3X11)
X11R5									X11R5



NAME
  XFilterEvent - filter	X events for an	input method

SYNTAX
  Bool XFilterEvent(_e_v_e_n_t, _w)
	XEvent *_e_v_e_n_t;
	Window _w;

ARGUMENTS

  _e_v_e_n_t	    Specifies the event	to filter.

  _w	    Specifies the window for which the filter is to be applied.

DESCRIPTION
  If the window	argument is _N_o_n_e, _X_F_i_l_t_e_r_E_v_e_n_t applies the filter to the win-
  dow specified	in the _X_E_v_e_n_t structure.  The window argument is provided so
  that layers above Xlib that do event redirection can indicate	to which win-
  dow an event has been	redirected.

  If _X_F_i_l_t_e_r_E_v_e_n_t returns _T_r_u_e,	then some input	method has filtered the
  event, and the client	should discard the event.  If _X_F_i_l_t_e_r_E_v_e_n_t returns
  _F_a_l_s_e, then the client should	continue processing the	event.

  If a grab has	occurred in the	client,	and _X_F_i_l_t_e_r_E_v_e_n_t returns _T_r_u_e, the
  client should	ungrab the keyboard.

SEE ALSO
  XNextEvent(3X11)
  _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e




























