void x11_setup ( Display *display ) { // Set error handle XSync ( display, False ); xerror = XSetErrorHandler ( display_oops ); XSync ( display, False ); // determine numlock mask so we can bind on keys with and without it x11_figure_out_numlock_mask ( display ); x11_create_frequently_used_atoms ( display ); }
void x11_setup ( xkb_stuff *xkb ) { // determine numlock mask so we can bind on keys with and without it x11_figure_out_masks ( xkb ); x11_create_frequently_used_atoms ( ); }