NAME

xev - print contents of X events

SYNOPSIS

xev [-display _d_i_s_p_l_a_y_n_a_m_e] [-geometry _g_e_o_m] [-bw _p_i_x_e_l_s] [-bs _{_N_o_t_U_s_e_f_u_l_,_W_h_e_n_M_a_p_p_e_d_,_A_l_w_a_y_s_}] [-id _w_i_n_d_o_w_i_d] [-s] [-name _s_t_r_i_n_g] [-rv]

DESCRIPTION

_X_e_v creates a window and then asks the X server to send it _e_v_e_n_t_s whenever anything happens to the window (such as it being moved, resized, typed in, clicked in, etc.). You can also attach it to an existing window. It is useful for seeing what causes events to occur and to display the information that they contain; it is essentially a debugging and development tool, and should not be needed in normal usage.

OPTIONS

-display _d_i_s_p_l_a_y
This option specifies the X server to contact.
-geometry _g_e_o_m
This option specifies the size and/or location of the window, if a window is to be created.
-bw _p_i_x_e_l_s
This option specifies the border width for the window.
-bs _{_N_o_t_U_s_e_f_u_l_,_W_h_e_n_M_a_p_p_e_d_,_A_l_w_a_y_s_}
This option specifies what kind of backing store to give the window. The default is NotUseful. Backing store refers to the the pixels saved off-screen when the X server maintains the contents of a window; NotUseful means that the xev process will redraw its contents itself, as necessary.
-id _w_i_n_d_o_w_i_d
This option specifies that the window with the given id should be monitored, instead of creating a new window.
-s
This option specifies that save-unders should be enabled on the window. Save unders are similar to backing store, but they refer rather to the saving of pixels off-screen when the current window obscures other windows. Save unders are only advisory, and are normally set for popup dialogs and other transient windows.
-name _s_t_r_i_n_g
This option specifies the name to assign to the created window.
-rv
This option specifies that the window should be in reverse video.

SEE ALSO

X(7), xwininfo(1), xdpyinfo(1), Xlib Programmers Manual, X Protocol Specification
See _X_(_7_) for a full statement of rights and permissions.

AUTHOR

Jim Fulton, MIT X Consortium