XCB  1.12
Data Structures | Macros | Typedefs | Enumerations | Functions
XCB API

XCB Protocol Implementation. More...

Data Structures

struct  xcb_char2b_t
 xcb_char2b_t More...
 
struct  xcb_char2b_iterator_t
 xcb_char2b_iterator_t More...
 
struct  xcb_window_iterator_t
 xcb_window_iterator_t More...
 
struct  xcb_pixmap_iterator_t
 xcb_pixmap_iterator_t More...
 
struct  xcb_cursor_iterator_t
 xcb_cursor_iterator_t More...
 
struct  xcb_font_iterator_t
 xcb_font_iterator_t More...
 
struct  xcb_gcontext_iterator_t
 xcb_gcontext_iterator_t More...
 
struct  xcb_colormap_iterator_t
 xcb_colormap_iterator_t More...
 
struct  xcb_atom_iterator_t
 xcb_atom_iterator_t More...
 
struct  xcb_drawable_iterator_t
 xcb_drawable_iterator_t More...
 
struct  xcb_fontable_iterator_t
 xcb_fontable_iterator_t More...
 
struct  xcb_bool32_iterator_t
 xcb_bool32_iterator_t More...
 
struct  xcb_visualid_iterator_t
 xcb_visualid_iterator_t More...
 
struct  xcb_timestamp_iterator_t
 xcb_timestamp_iterator_t More...
 
struct  xcb_keysym_iterator_t
 xcb_keysym_iterator_t More...
 
struct  xcb_keycode_iterator_t
 xcb_keycode_iterator_t More...
 
struct  xcb_keycode32_iterator_t
 xcb_keycode32_iterator_t More...
 
struct  xcb_button_iterator_t
 xcb_button_iterator_t More...
 
struct  xcb_point_t
 xcb_point_t More...
 
struct  xcb_point_iterator_t
 xcb_point_iterator_t More...
 
struct  xcb_rectangle_t
 xcb_rectangle_t More...
 
struct  xcb_rectangle_iterator_t
 xcb_rectangle_iterator_t More...
 
struct  xcb_arc_t
 xcb_arc_t More...
 
struct  xcb_arc_iterator_t
 xcb_arc_iterator_t More...
 
struct  xcb_format_t
 xcb_format_t More...
 
struct  xcb_format_iterator_t
 xcb_format_iterator_t More...
 
struct  xcb_visualtype_t
 xcb_visualtype_t More...
 
struct  xcb_visualtype_iterator_t
 xcb_visualtype_iterator_t More...
 
struct  xcb_depth_t
 xcb_depth_t More...
 
struct  xcb_depth_iterator_t
 xcb_depth_iterator_t More...
 
struct  xcb_screen_t
 xcb_screen_t More...
 
struct  xcb_screen_iterator_t
 xcb_screen_iterator_t More...
 
struct  xcb_setup_request_t
 xcb_setup_request_t More...
 
struct  xcb_setup_request_iterator_t
 xcb_setup_request_iterator_t More...
 
struct  xcb_setup_failed_t
 xcb_setup_failed_t More...
 
struct  xcb_setup_failed_iterator_t
 xcb_setup_failed_iterator_t More...
 
struct  xcb_setup_authenticate_t
 xcb_setup_authenticate_t More...
 
struct  xcb_setup_authenticate_iterator_t
 xcb_setup_authenticate_iterator_t More...
 
struct  xcb_setup_t
 xcb_setup_t More...
 
struct  xcb_setup_iterator_t
 xcb_setup_iterator_t More...
 
struct  xcb_key_press_event_t
 xcb_key_press_event_t More...
 
struct  xcb_button_press_event_t
 xcb_button_press_event_t More...
 
struct  xcb_motion_notify_event_t
 xcb_motion_notify_event_t More...
 
struct  xcb_enter_notify_event_t
 xcb_enter_notify_event_t More...
 
struct  xcb_focus_in_event_t
 xcb_focus_in_event_t More...
 
struct  xcb_keymap_notify_event_t
 xcb_keymap_notify_event_t More...
 
struct  xcb_expose_event_t
 xcb_expose_event_t More...
 
struct  xcb_graphics_exposure_event_t
 xcb_graphics_exposure_event_t More...
 
struct  xcb_no_exposure_event_t
 xcb_no_exposure_event_t More...
 
struct  xcb_visibility_notify_event_t
 xcb_visibility_notify_event_t More...
 
struct  xcb_create_notify_event_t
 xcb_create_notify_event_t More...
 
struct  xcb_destroy_notify_event_t
 xcb_destroy_notify_event_t More...
 
struct  xcb_unmap_notify_event_t
 xcb_unmap_notify_event_t More...
 
struct  xcb_map_notify_event_t
 xcb_map_notify_event_t More...
 
struct  xcb_map_request_event_t
 xcb_map_request_event_t More...
 
struct  xcb_reparent_notify_event_t
 xcb_reparent_notify_event_t More...
 
struct  xcb_configure_notify_event_t
 xcb_configure_notify_event_t More...
 
struct  xcb_configure_request_event_t
 xcb_configure_request_event_t More...
 
struct  xcb_gravity_notify_event_t
 xcb_gravity_notify_event_t More...
 
struct  xcb_resize_request_event_t
 xcb_resize_request_event_t More...
 
struct  xcb_circulate_notify_event_t
 xcb_circulate_notify_event_t More...
 
struct  xcb_property_notify_event_t
 xcb_property_notify_event_t More...
 
struct  xcb_selection_clear_event_t
 xcb_selection_clear_event_t More...
 
struct  xcb_selection_request_event_t
 xcb_selection_request_event_t More...
 
struct  xcb_selection_notify_event_t
 xcb_selection_notify_event_t More...
 
struct  xcb_colormap_notify_event_t
 xcb_colormap_notify_event_t More...
 
union  xcb_client_message_data_t
 xcb_client_message_data_t More...
 
struct  xcb_client_message_data_iterator_t
 xcb_client_message_data_iterator_t More...
 
struct  xcb_client_message_event_t
 xcb_client_message_event_t More...
 
struct  xcb_mapping_notify_event_t
 xcb_mapping_notify_event_t More...
 
struct  xcb_ge_generic_event_t
 xcb_ge_generic_event_t More...
 
struct  xcb_request_error_t
 xcb_request_error_t More...
 
struct  xcb_value_error_t
 xcb_value_error_t More...
 
struct  xcb_create_window_value_list_t
 xcb_create_window_value_list_t More...
 
struct  xcb_create_window_request_t
 xcb_create_window_request_t More...
 
struct  xcb_change_window_attributes_value_list_t
 xcb_change_window_attributes_value_list_t More...
 
struct  xcb_change_window_attributes_request_t
 xcb_change_window_attributes_request_t More...
 
struct  xcb_get_window_attributes_cookie_t
 xcb_get_window_attributes_cookie_t More...
 
struct  xcb_get_window_attributes_request_t
 xcb_get_window_attributes_request_t More...
 
struct  xcb_get_window_attributes_reply_t
 xcb_get_window_attributes_reply_t More...
 
struct  xcb_destroy_window_request_t
 xcb_destroy_window_request_t More...
 
struct  xcb_destroy_subwindows_request_t
 xcb_destroy_subwindows_request_t More...
 
struct  xcb_change_save_set_request_t
 xcb_change_save_set_request_t More...
 
struct  xcb_reparent_window_request_t
 xcb_reparent_window_request_t More...
 
struct  xcb_map_window_request_t
 xcb_map_window_request_t More...
 
struct  xcb_map_subwindows_request_t
 xcb_map_subwindows_request_t More...
 
struct  xcb_unmap_window_request_t
 xcb_unmap_window_request_t More...
 
struct  xcb_unmap_subwindows_request_t
 xcb_unmap_subwindows_request_t More...
 
struct  xcb_configure_window_value_list_t
 xcb_configure_window_value_list_t More...
 
struct  xcb_configure_window_request_t
 xcb_configure_window_request_t More...
 
struct  xcb_circulate_window_request_t
 xcb_circulate_window_request_t More...
 
struct  xcb_get_geometry_cookie_t
 xcb_get_geometry_cookie_t More...
 
struct  xcb_get_geometry_request_t
 xcb_get_geometry_request_t More...
 
struct  xcb_get_geometry_reply_t
 xcb_get_geometry_reply_t More...
 
struct  xcb_query_tree_cookie_t
 xcb_query_tree_cookie_t More...
 
struct  xcb_query_tree_request_t
 xcb_query_tree_request_t More...
 
struct  xcb_query_tree_reply_t
 xcb_query_tree_reply_t More...
 
struct  xcb_intern_atom_cookie_t
 xcb_intern_atom_cookie_t More...
 
struct  xcb_intern_atom_request_t
 xcb_intern_atom_request_t More...
 
struct  xcb_intern_atom_reply_t
 xcb_intern_atom_reply_t More...
 
struct  xcb_get_atom_name_cookie_t
 xcb_get_atom_name_cookie_t More...
 
struct  xcb_get_atom_name_request_t
 xcb_get_atom_name_request_t More...
 
struct  xcb_get_atom_name_reply_t
 xcb_get_atom_name_reply_t More...
 
struct  xcb_change_property_request_t
 xcb_change_property_request_t More...
 
struct  xcb_delete_property_request_t
 xcb_delete_property_request_t More...
 
struct  xcb_get_property_cookie_t
 xcb_get_property_cookie_t More...
 
struct  xcb_get_property_request_t
 xcb_get_property_request_t More...
 
struct  xcb_get_property_reply_t
 xcb_get_property_reply_t More...
 
struct  xcb_list_properties_cookie_t
 xcb_list_properties_cookie_t More...
 
struct  xcb_list_properties_request_t
 xcb_list_properties_request_t More...
 
struct  xcb_list_properties_reply_t
 xcb_list_properties_reply_t More...
 
struct  xcb_set_selection_owner_request_t
 xcb_set_selection_owner_request_t More...
 
struct  xcb_get_selection_owner_cookie_t
 xcb_get_selection_owner_cookie_t More...
 
struct  xcb_get_selection_owner_request_t
 xcb_get_selection_owner_request_t More...
 
struct  xcb_get_selection_owner_reply_t
 xcb_get_selection_owner_reply_t More...
 
struct  xcb_convert_selection_request_t
 xcb_convert_selection_request_t More...
 
struct  xcb_send_event_request_t
 xcb_send_event_request_t More...
 
struct  xcb_grab_pointer_cookie_t
 xcb_grab_pointer_cookie_t More...
 
struct  xcb_grab_pointer_request_t
 xcb_grab_pointer_request_t More...
 
struct  xcb_grab_pointer_reply_t
 xcb_grab_pointer_reply_t More...
 
struct  xcb_ungrab_pointer_request_t
 xcb_ungrab_pointer_request_t More...
 
struct  xcb_grab_button_request_t
 xcb_grab_button_request_t More...
 
struct  xcb_ungrab_button_request_t
 xcb_ungrab_button_request_t More...
 
struct  xcb_change_active_pointer_grab_request_t
 xcb_change_active_pointer_grab_request_t More...
 
struct  xcb_grab_keyboard_cookie_t
 xcb_grab_keyboard_cookie_t More...
 
struct  xcb_grab_keyboard_request_t
 xcb_grab_keyboard_request_t More...
 
struct  xcb_grab_keyboard_reply_t
 xcb_grab_keyboard_reply_t More...
 
struct  xcb_ungrab_keyboard_request_t
 xcb_ungrab_keyboard_request_t More...
 
struct  xcb_grab_key_request_t
 xcb_grab_key_request_t More...
 
struct  xcb_ungrab_key_request_t
 xcb_ungrab_key_request_t More...
 
struct  xcb_allow_events_request_t
 xcb_allow_events_request_t More...
 
struct  xcb_grab_server_request_t
 xcb_grab_server_request_t More...
 
struct  xcb_ungrab_server_request_t
 xcb_ungrab_server_request_t More...
 
struct  xcb_query_pointer_cookie_t
 xcb_query_pointer_cookie_t More...
 
struct  xcb_query_pointer_request_t
 xcb_query_pointer_request_t More...
 
struct  xcb_query_pointer_reply_t
 xcb_query_pointer_reply_t More...
 
struct  xcb_timecoord_t
 xcb_timecoord_t More...
 
struct  xcb_timecoord_iterator_t
 xcb_timecoord_iterator_t More...
 
struct  xcb_get_motion_events_cookie_t
 xcb_get_motion_events_cookie_t More...
 
struct  xcb_get_motion_events_request_t
 xcb_get_motion_events_request_t More...
 
struct  xcb_get_motion_events_reply_t
 xcb_get_motion_events_reply_t More...
 
struct  xcb_translate_coordinates_cookie_t
 xcb_translate_coordinates_cookie_t More...
 
struct  xcb_translate_coordinates_request_t
 xcb_translate_coordinates_request_t More...
 
struct  xcb_translate_coordinates_reply_t
 xcb_translate_coordinates_reply_t More...
 
struct  xcb_warp_pointer_request_t
 xcb_warp_pointer_request_t More...
 
struct  xcb_set_input_focus_request_t
 xcb_set_input_focus_request_t More...
 
struct  xcb_get_input_focus_cookie_t
 xcb_get_input_focus_cookie_t More...
 
struct  xcb_get_input_focus_request_t
 xcb_get_input_focus_request_t More...
 
struct  xcb_get_input_focus_reply_t
 xcb_get_input_focus_reply_t More...
 
struct  xcb_query_keymap_cookie_t
 xcb_query_keymap_cookie_t More...
 
struct  xcb_query_keymap_request_t
 xcb_query_keymap_request_t More...
 
struct  xcb_query_keymap_reply_t
 xcb_query_keymap_reply_t More...
 
struct  xcb_open_font_request_t
 xcb_open_font_request_t More...
 
struct  xcb_close_font_request_t
 xcb_close_font_request_t More...
 
struct  xcb_fontprop_t
 xcb_fontprop_t More...
 
struct  xcb_fontprop_iterator_t
 xcb_fontprop_iterator_t More...
 
struct  xcb_charinfo_t
 xcb_charinfo_t More...
 
struct  xcb_charinfo_iterator_t
 xcb_charinfo_iterator_t More...
 
struct  xcb_query_font_cookie_t
 xcb_query_font_cookie_t More...
 
struct  xcb_query_font_request_t
 xcb_query_font_request_t More...
 
struct  xcb_query_font_reply_t
 xcb_query_font_reply_t More...
 
struct  xcb_query_text_extents_cookie_t
 xcb_query_text_extents_cookie_t More...
 
struct  xcb_query_text_extents_request_t
 xcb_query_text_extents_request_t More...
 
struct  xcb_query_text_extents_reply_t
 xcb_query_text_extents_reply_t More...
 
struct  xcb_str_t
 xcb_str_t More...
 
struct  xcb_str_iterator_t
 xcb_str_iterator_t More...
 
struct  xcb_list_fonts_cookie_t
 xcb_list_fonts_cookie_t More...
 
struct  xcb_list_fonts_request_t
 xcb_list_fonts_request_t More...
 
struct  xcb_list_fonts_reply_t
 xcb_list_fonts_reply_t More...
 
struct  xcb_list_fonts_with_info_cookie_t
 xcb_list_fonts_with_info_cookie_t More...
 
struct  xcb_list_fonts_with_info_request_t
 xcb_list_fonts_with_info_request_t More...
 
struct  xcb_list_fonts_with_info_reply_t
 xcb_list_fonts_with_info_reply_t More...
 
struct  xcb_set_font_path_request_t
 xcb_set_font_path_request_t More...
 
struct  xcb_get_font_path_cookie_t
 xcb_get_font_path_cookie_t More...
 
struct  xcb_get_font_path_request_t
 xcb_get_font_path_request_t More...
 
struct  xcb_get_font_path_reply_t
 xcb_get_font_path_reply_t More...
 
struct  xcb_create_pixmap_request_t
 xcb_create_pixmap_request_t More...
 
struct  xcb_free_pixmap_request_t
 xcb_free_pixmap_request_t More...
 
struct  xcb_create_gc_value_list_t
 xcb_create_gc_value_list_t More...
 
struct  xcb_create_gc_request_t
 xcb_create_gc_request_t More...
 
struct  xcb_change_gc_value_list_t
 xcb_change_gc_value_list_t More...
 
struct  xcb_change_gc_request_t
 xcb_change_gc_request_t More...
 
struct  xcb_copy_gc_request_t
 xcb_copy_gc_request_t More...
 
struct  xcb_set_dashes_request_t
 xcb_set_dashes_request_t More...
 
struct  xcb_set_clip_rectangles_request_t
 xcb_set_clip_rectangles_request_t More...
 
struct  xcb_free_gc_request_t
 xcb_free_gc_request_t More...
 
struct  xcb_clear_area_request_t
 xcb_clear_area_request_t More...
 
struct  xcb_copy_area_request_t
 xcb_copy_area_request_t More...
 
struct  xcb_copy_plane_request_t
 xcb_copy_plane_request_t More...
 
struct  xcb_poly_point_request_t
 xcb_poly_point_request_t More...
 
struct  xcb_poly_line_request_t
 xcb_poly_line_request_t More...
 
struct  xcb_segment_t
 xcb_segment_t More...
 
struct  xcb_segment_iterator_t
 xcb_segment_iterator_t More...
 
struct  xcb_poly_segment_request_t
 xcb_poly_segment_request_t More...
 
struct  xcb_poly_rectangle_request_t
 xcb_poly_rectangle_request_t More...
 
struct  xcb_poly_arc_request_t
 xcb_poly_arc_request_t More...
 
struct  xcb_fill_poly_request_t
 xcb_fill_poly_request_t More...
 
struct  xcb_poly_fill_rectangle_request_t
 xcb_poly_fill_rectangle_request_t More...
 
struct  xcb_poly_fill_arc_request_t
 xcb_poly_fill_arc_request_t More...
 
struct  xcb_put_image_request_t
 xcb_put_image_request_t More...
 
struct  xcb_get_image_cookie_t
 xcb_get_image_cookie_t More...
 
struct  xcb_get_image_request_t
 xcb_get_image_request_t More...
 
struct  xcb_get_image_reply_t
 xcb_get_image_reply_t More...
 
struct  xcb_poly_text_8_request_t
 xcb_poly_text_8_request_t More...
 
struct  xcb_poly_text_16_request_t
 xcb_poly_text_16_request_t More...
 
struct  xcb_image_text_8_request_t
 xcb_image_text_8_request_t More...
 
struct  xcb_image_text_16_request_t
 xcb_image_text_16_request_t More...
 
struct  xcb_create_colormap_request_t
 xcb_create_colormap_request_t More...
 
struct  xcb_free_colormap_request_t
 xcb_free_colormap_request_t More...
 
struct  xcb_copy_colormap_and_free_request_t
 xcb_copy_colormap_and_free_request_t More...
 
struct  xcb_install_colormap_request_t
 xcb_install_colormap_request_t More...
 
struct  xcb_uninstall_colormap_request_t
 xcb_uninstall_colormap_request_t More...
 
struct  xcb_list_installed_colormaps_cookie_t
 xcb_list_installed_colormaps_cookie_t More...
 
struct  xcb_list_installed_colormaps_request_t
 xcb_list_installed_colormaps_request_t More...
 
struct  xcb_list_installed_colormaps_reply_t
 xcb_list_installed_colormaps_reply_t More...
 
struct  xcb_alloc_color_cookie_t
 xcb_alloc_color_cookie_t More...
 
struct  xcb_alloc_color_request_t
 xcb_alloc_color_request_t More...
 
struct  xcb_alloc_color_reply_t
 xcb_alloc_color_reply_t More...
 
struct  xcb_alloc_named_color_cookie_t
 xcb_alloc_named_color_cookie_t More...
 
struct  xcb_alloc_named_color_request_t
 xcb_alloc_named_color_request_t More...
 
struct  xcb_alloc_named_color_reply_t
 xcb_alloc_named_color_reply_t More...
 
struct  xcb_alloc_color_cells_cookie_t
 xcb_alloc_color_cells_cookie_t More...
 
struct  xcb_alloc_color_cells_request_t
 xcb_alloc_color_cells_request_t More...
 
struct  xcb_alloc_color_cells_reply_t
 xcb_alloc_color_cells_reply_t More...
 
struct  xcb_alloc_color_planes_cookie_t
 xcb_alloc_color_planes_cookie_t More...
 
struct  xcb_alloc_color_planes_request_t
 xcb_alloc_color_planes_request_t More...
 
struct  xcb_alloc_color_planes_reply_t
 xcb_alloc_color_planes_reply_t More...
 
struct  xcb_free_colors_request_t
 xcb_free_colors_request_t More...
 
struct  xcb_coloritem_t
 xcb_coloritem_t More...
 
struct  xcb_coloritem_iterator_t
 xcb_coloritem_iterator_t More...
 
struct  xcb_store_colors_request_t
 xcb_store_colors_request_t More...
 
struct  xcb_store_named_color_request_t
 xcb_store_named_color_request_t More...
 
struct  xcb_rgb_t
 xcb_rgb_t More...
 
struct  xcb_rgb_iterator_t
 xcb_rgb_iterator_t More...
 
struct  xcb_query_colors_cookie_t
 xcb_query_colors_cookie_t More...
 
struct  xcb_query_colors_request_t
 xcb_query_colors_request_t More...
 
struct  xcb_query_colors_reply_t
 xcb_query_colors_reply_t More...
 
struct  xcb_lookup_color_cookie_t
 xcb_lookup_color_cookie_t More...
 
struct  xcb_lookup_color_request_t
 xcb_lookup_color_request_t More...
 
struct  xcb_lookup_color_reply_t
 xcb_lookup_color_reply_t More...
 
struct  xcb_create_cursor_request_t
 xcb_create_cursor_request_t More...
 
struct  xcb_create_glyph_cursor_request_t
 xcb_create_glyph_cursor_request_t More...
 
struct  xcb_free_cursor_request_t
 xcb_free_cursor_request_t More...
 
struct  xcb_recolor_cursor_request_t
 xcb_recolor_cursor_request_t More...
 
struct  xcb_query_best_size_cookie_t
 xcb_query_best_size_cookie_t More...
 
struct  xcb_query_best_size_request_t
 xcb_query_best_size_request_t More...
 
struct  xcb_query_best_size_reply_t
 xcb_query_best_size_reply_t More...
 
struct  xcb_query_extension_cookie_t
 xcb_query_extension_cookie_t More...
 
struct  xcb_query_extension_request_t
 xcb_query_extension_request_t More...
 
struct  xcb_query_extension_reply_t
 xcb_query_extension_reply_t More...
 
struct  xcb_list_extensions_cookie_t
 xcb_list_extensions_cookie_t More...
 
struct  xcb_list_extensions_request_t
 xcb_list_extensions_request_t More...
 
struct  xcb_list_extensions_reply_t
 xcb_list_extensions_reply_t More...
 
struct  xcb_change_keyboard_mapping_request_t
 xcb_change_keyboard_mapping_request_t More...
 
struct  xcb_get_keyboard_mapping_cookie_t
 xcb_get_keyboard_mapping_cookie_t More...
 
struct  xcb_get_keyboard_mapping_request_t
 xcb_get_keyboard_mapping_request_t More...
 
struct  xcb_get_keyboard_mapping_reply_t
 xcb_get_keyboard_mapping_reply_t More...
 
struct  xcb_change_keyboard_control_value_list_t
 xcb_change_keyboard_control_value_list_t More...
 
struct  xcb_change_keyboard_control_request_t
 xcb_change_keyboard_control_request_t More...
 
struct  xcb_get_keyboard_control_cookie_t
 xcb_get_keyboard_control_cookie_t More...
 
struct  xcb_get_keyboard_control_request_t
 xcb_get_keyboard_control_request_t More...
 
struct  xcb_get_keyboard_control_reply_t
 xcb_get_keyboard_control_reply_t More...
 
struct  xcb_bell_request_t
 xcb_bell_request_t More...
 
struct  xcb_change_pointer_control_request_t
 xcb_change_pointer_control_request_t More...
 
struct  xcb_get_pointer_control_cookie_t
 xcb_get_pointer_control_cookie_t More...
 
struct  xcb_get_pointer_control_request_t
 xcb_get_pointer_control_request_t More...
 
struct  xcb_get_pointer_control_reply_t
 xcb_get_pointer_control_reply_t More...
 
struct  xcb_set_screen_saver_request_t
 xcb_set_screen_saver_request_t More...
 
struct  xcb_get_screen_saver_cookie_t
 xcb_get_screen_saver_cookie_t More...
 
struct  xcb_get_screen_saver_request_t
 xcb_get_screen_saver_request_t More...
 
struct  xcb_get_screen_saver_reply_t
 xcb_get_screen_saver_reply_t More...
 
struct  xcb_change_hosts_request_t
 xcb_change_hosts_request_t More...
 
struct  xcb_host_t
 xcb_host_t More...
 
struct  xcb_host_iterator_t
 xcb_host_iterator_t More...
 
struct  xcb_list_hosts_cookie_t
 xcb_list_hosts_cookie_t More...
 
struct  xcb_list_hosts_request_t
 xcb_list_hosts_request_t More...
 
struct  xcb_list_hosts_reply_t
 xcb_list_hosts_reply_t More...
 
struct  xcb_set_access_control_request_t
 xcb_set_access_control_request_t More...
 
struct  xcb_set_close_down_mode_request_t
 xcb_set_close_down_mode_request_t More...
 
struct  xcb_kill_client_request_t
 xcb_kill_client_request_t More...
 
struct  xcb_rotate_properties_request_t
 xcb_rotate_properties_request_t More...
 
struct  xcb_force_screen_saver_request_t
 xcb_force_screen_saver_request_t More...
 
struct  xcb_set_pointer_mapping_cookie_t
 xcb_set_pointer_mapping_cookie_t More...
 
struct  xcb_set_pointer_mapping_request_t
 xcb_set_pointer_mapping_request_t More...
 
struct  xcb_set_pointer_mapping_reply_t
 xcb_set_pointer_mapping_reply_t More...
 
struct  xcb_get_pointer_mapping_cookie_t
 xcb_get_pointer_mapping_cookie_t More...
 
struct  xcb_get_pointer_mapping_request_t
 xcb_get_pointer_mapping_request_t More...
 
struct  xcb_get_pointer_mapping_reply_t
 xcb_get_pointer_mapping_reply_t More...
 
struct  xcb_set_modifier_mapping_cookie_t
 xcb_set_modifier_mapping_cookie_t More...
 
struct  xcb_set_modifier_mapping_request_t
 xcb_set_modifier_mapping_request_t More...
 
struct  xcb_set_modifier_mapping_reply_t
 xcb_set_modifier_mapping_reply_t More...
 
struct  xcb_get_modifier_mapping_cookie_t
 xcb_get_modifier_mapping_cookie_t More...
 
struct  xcb_get_modifier_mapping_request_t
 xcb_get_modifier_mapping_request_t More...
 
struct  xcb_get_modifier_mapping_reply_t
 xcb_get_modifier_mapping_reply_t More...
 
struct  xcb_no_operation_request_t
 xcb_no_operation_request_t More...
 

Macros

#define XCB_KEY_PRESS   2
 
#define XCB_KEY_RELEASE   3
 
#define XCB_BUTTON_PRESS   4
 
#define XCB_BUTTON_RELEASE   5
 
#define XCB_MOTION_NOTIFY   6
 
#define XCB_ENTER_NOTIFY   7
 
#define XCB_LEAVE_NOTIFY   8
 
#define XCB_FOCUS_IN   9
 
#define XCB_FOCUS_OUT   10
 
#define XCB_KEYMAP_NOTIFY   11
 
#define XCB_EXPOSE   12
 
#define XCB_GRAPHICS_EXPOSURE   13
 
#define XCB_NO_EXPOSURE   14
 
#define XCB_VISIBILITY_NOTIFY   15
 
#define XCB_CREATE_NOTIFY   16
 
#define XCB_DESTROY_NOTIFY   17
 
#define XCB_UNMAP_NOTIFY   18
 
#define XCB_MAP_NOTIFY   19
 
#define XCB_MAP_REQUEST   20
 
#define XCB_REPARENT_NOTIFY   21
 
#define XCB_CONFIGURE_NOTIFY   22
 
#define XCB_CONFIGURE_REQUEST   23
 
#define XCB_GRAVITY_NOTIFY   24
 
#define XCB_RESIZE_REQUEST   25
 
#define XCB_CIRCULATE_NOTIFY   26
 
#define XCB_CIRCULATE_REQUEST   27
 
#define XCB_PROPERTY_NOTIFY   28
 
#define XCB_SELECTION_CLEAR   29
 
#define XCB_SELECTION_REQUEST   30
 
#define XCB_SELECTION_NOTIFY   31
 
#define XCB_COLORMAP_NOTIFY   32
 
#define XCB_CLIENT_MESSAGE   33
 
#define XCB_MAPPING_NOTIFY   34
 
#define XCB_GE_GENERIC   35
 
#define XCB_REQUEST   1
 
#define XCB_VALUE   2
 
#define XCB_WINDOW   3
 
#define XCB_PIXMAP   4
 
#define XCB_ATOM   5
 
#define XCB_CURSOR   6
 
#define XCB_FONT   7
 
#define XCB_MATCH   8
 
#define XCB_DRAWABLE   9
 
#define XCB_ACCESS   10
 
#define XCB_ALLOC   11
 
#define XCB_COLORMAP   12
 
#define XCB_G_CONTEXT   13
 
#define XCB_ID_CHOICE   14
 
#define XCB_NAME   15
 
#define XCB_LENGTH   16
 
#define XCB_IMPLEMENTATION   17
 
#define XCB_CREATE_WINDOW   1
 
#define XCB_CHANGE_WINDOW_ATTRIBUTES   2
 
#define XCB_GET_WINDOW_ATTRIBUTES   3
 
#define XCB_DESTROY_WINDOW   4
 
#define XCB_DESTROY_SUBWINDOWS   5
 
#define XCB_CHANGE_SAVE_SET   6
 
#define XCB_REPARENT_WINDOW   7
 
#define XCB_MAP_WINDOW   8
 
#define XCB_MAP_SUBWINDOWS   9
 
#define XCB_UNMAP_WINDOW   10
 
#define XCB_UNMAP_SUBWINDOWS   11
 
#define XCB_CONFIGURE_WINDOW   12
 
#define XCB_CIRCULATE_WINDOW   13
 
#define XCB_GET_GEOMETRY   14
 
#define XCB_QUERY_TREE   15
 
#define XCB_INTERN_ATOM   16
 
#define XCB_GET_ATOM_NAME   17
 
#define XCB_CHANGE_PROPERTY   18
 
#define XCB_DELETE_PROPERTY   19
 
#define XCB_GET_PROPERTY   20
 
#define XCB_LIST_PROPERTIES   21
 
#define XCB_SET_SELECTION_OWNER   22
 
#define XCB_GET_SELECTION_OWNER   23
 
#define XCB_CONVERT_SELECTION   24
 
#define XCB_SEND_EVENT   25
 
#define XCB_GRAB_POINTER   26
 
#define XCB_UNGRAB_POINTER   27
 
#define XCB_GRAB_BUTTON   28
 
#define XCB_UNGRAB_BUTTON   29
 
#define XCB_CHANGE_ACTIVE_POINTER_GRAB   30
 
#define XCB_GRAB_KEYBOARD   31
 
#define XCB_UNGRAB_KEYBOARD   32
 
#define XCB_GRAB_KEY   33
 
#define XCB_UNGRAB_KEY   34
 
#define XCB_ALLOW_EVENTS   35
 
#define XCB_GRAB_SERVER   36
 
#define XCB_UNGRAB_SERVER   37
 
#define XCB_QUERY_POINTER   38
 
#define XCB_GET_MOTION_EVENTS   39
 
#define XCB_TRANSLATE_COORDINATES   40
 
#define XCB_WARP_POINTER   41
 
#define XCB_SET_INPUT_FOCUS   42
 
#define XCB_GET_INPUT_FOCUS   43
 
#define XCB_QUERY_KEYMAP   44
 
#define XCB_OPEN_FONT   45
 
#define XCB_CLOSE_FONT   46
 
#define XCB_QUERY_FONT   47
 
#define XCB_QUERY_TEXT_EXTENTS   48
 
#define XCB_LIST_FONTS   49
 
#define XCB_LIST_FONTS_WITH_INFO   50
 
#define XCB_SET_FONT_PATH   51
 
#define XCB_GET_FONT_PATH   52
 
#define XCB_CREATE_PIXMAP   53
 
#define XCB_FREE_PIXMAP   54
 
#define XCB_CREATE_GC   55
 
#define XCB_CHANGE_GC   56
 
#define XCB_COPY_GC   57
 
#define XCB_SET_DASHES   58
 
#define XCB_SET_CLIP_RECTANGLES   59
 
#define XCB_FREE_GC   60
 
#define XCB_CLEAR_AREA   61
 
#define XCB_COPY_AREA   62
 
#define XCB_COPY_PLANE   63
 
#define XCB_POLY_POINT   64
 
#define XCB_POLY_LINE   65
 
#define XCB_POLY_SEGMENT   66
 
#define XCB_POLY_RECTANGLE   67
 
#define XCB_POLY_ARC   68
 
#define XCB_FILL_POLY   69
 
#define XCB_POLY_FILL_RECTANGLE   70
 
#define XCB_POLY_FILL_ARC   71
 
#define XCB_PUT_IMAGE   72
 
#define XCB_GET_IMAGE   73
 
#define XCB_POLY_TEXT_8   74
 
#define XCB_POLY_TEXT_16   75
 
#define XCB_IMAGE_TEXT_8   76
 
#define XCB_IMAGE_TEXT_16   77
 
#define XCB_CREATE_COLORMAP   78
 
#define XCB_FREE_COLORMAP   79
 
#define XCB_COPY_COLORMAP_AND_FREE   80
 
#define XCB_INSTALL_COLORMAP   81
 
#define XCB_UNINSTALL_COLORMAP   82
 
#define XCB_LIST_INSTALLED_COLORMAPS   83
 
#define XCB_ALLOC_COLOR   84
 
#define XCB_ALLOC_NAMED_COLOR   85
 
#define XCB_ALLOC_COLOR_CELLS   86
 
#define XCB_ALLOC_COLOR_PLANES   87
 
#define XCB_FREE_COLORS   88
 
#define XCB_STORE_COLORS   89
 
#define XCB_STORE_NAMED_COLOR   90
 
#define XCB_QUERY_COLORS   91
 
#define XCB_LOOKUP_COLOR   92
 
#define XCB_CREATE_CURSOR   93
 
#define XCB_CREATE_GLYPH_CURSOR   94
 
#define XCB_FREE_CURSOR   95
 
#define XCB_RECOLOR_CURSOR   96
 
#define XCB_QUERY_BEST_SIZE   97
 
#define XCB_QUERY_EXTENSION   98
 
#define XCB_LIST_EXTENSIONS   99
 
#define XCB_CHANGE_KEYBOARD_MAPPING   100
 
#define XCB_GET_KEYBOARD_MAPPING   101
 
#define XCB_CHANGE_KEYBOARD_CONTROL   102
 
#define XCB_GET_KEYBOARD_CONTROL   103
 
#define XCB_BELL   104
 
#define XCB_CHANGE_POINTER_CONTROL   105
 
#define XCB_GET_POINTER_CONTROL   106
 
#define XCB_SET_SCREEN_SAVER   107
 
#define XCB_GET_SCREEN_SAVER   108
 
#define XCB_CHANGE_HOSTS   109
 
#define XCB_LIST_HOSTS   110
 
#define XCB_SET_ACCESS_CONTROL   111
 
#define XCB_SET_CLOSE_DOWN_MODE   112
 
#define XCB_KILL_CLIENT   113
 
#define XCB_ROTATE_PROPERTIES   114
 
#define XCB_FORCE_SCREEN_SAVER   115
 
#define XCB_SET_POINTER_MAPPING   116
 
#define XCB_GET_POINTER_MAPPING   117
 
#define XCB_SET_MODIFIER_MAPPING   118
 
#define XCB_GET_MODIFIER_MAPPING   119
 
#define XCB_NO_OPERATION   127
 

Typedefs

typedef struct xcb_char2b_t xcb_char2b_t
 xcb_char2b_t
 
typedef struct xcb_char2b_iterator_t xcb_char2b_iterator_t
 xcb_char2b_iterator_t
 
typedef uint32_t xcb_window_t
 
typedef struct xcb_window_iterator_t xcb_window_iterator_t
 xcb_window_iterator_t
 
typedef uint32_t xcb_pixmap_t
 
typedef struct xcb_pixmap_iterator_t xcb_pixmap_iterator_t
 xcb_pixmap_iterator_t
 
typedef uint32_t xcb_cursor_t
 
typedef struct xcb_cursor_iterator_t xcb_cursor_iterator_t
 xcb_cursor_iterator_t
 
typedef uint32_t xcb_font_t
 
typedef struct xcb_font_iterator_t xcb_font_iterator_t
 xcb_font_iterator_t
 
typedef uint32_t xcb_gcontext_t
 
typedef struct xcb_gcontext_iterator_t xcb_gcontext_iterator_t
 xcb_gcontext_iterator_t
 
typedef uint32_t xcb_colormap_t
 
typedef struct xcb_colormap_iterator_t xcb_colormap_iterator_t
 xcb_colormap_iterator_t
 
typedef uint32_t xcb_atom_t
 
typedef struct xcb_atom_iterator_t xcb_atom_iterator_t
 xcb_atom_iterator_t
 
typedef uint32_t xcb_drawable_t
 
typedef struct xcb_drawable_iterator_t xcb_drawable_iterator_t
 xcb_drawable_iterator_t
 
typedef uint32_t xcb_fontable_t
 
typedef struct xcb_fontable_iterator_t xcb_fontable_iterator_t
 xcb_fontable_iterator_t
 
typedef uint32_t xcb_bool32_t
 
typedef struct xcb_bool32_iterator_t xcb_bool32_iterator_t
 xcb_bool32_iterator_t
 
typedef uint32_t xcb_visualid_t
 
typedef struct xcb_visualid_iterator_t xcb_visualid_iterator_t
 xcb_visualid_iterator_t
 
typedef uint32_t xcb_timestamp_t
 
typedef struct xcb_timestamp_iterator_t xcb_timestamp_iterator_t
 xcb_timestamp_iterator_t
 
typedef uint32_t xcb_keysym_t
 
typedef struct xcb_keysym_iterator_t xcb_keysym_iterator_t
 xcb_keysym_iterator_t
 
typedef uint8_t xcb_keycode_t
 
typedef struct xcb_keycode_iterator_t xcb_keycode_iterator_t
 xcb_keycode_iterator_t
 
typedef uint32_t xcb_keycode32_t
 
typedef struct xcb_keycode32_iterator_t xcb_keycode32_iterator_t
 xcb_keycode32_iterator_t
 
typedef uint8_t xcb_button_t
 
typedef struct xcb_button_iterator_t xcb_button_iterator_t
 xcb_button_iterator_t
 
typedef struct xcb_point_t xcb_point_t
 xcb_point_t
 
typedef struct xcb_point_iterator_t xcb_point_iterator_t
 xcb_point_iterator_t
 
typedef struct xcb_rectangle_t xcb_rectangle_t
 xcb_rectangle_t
 
typedef struct xcb_rectangle_iterator_t xcb_rectangle_iterator_t
 xcb_rectangle_iterator_t
 
typedef struct xcb_arc_t xcb_arc_t
 xcb_arc_t
 
typedef struct xcb_arc_iterator_t xcb_arc_iterator_t
 xcb_arc_iterator_t
 
typedef struct xcb_format_t xcb_format_t
 xcb_format_t
 
typedef struct xcb_format_iterator_t xcb_format_iterator_t
 xcb_format_iterator_t
 
typedef enum xcb_visual_class_t xcb_visual_class_t
 
typedef struct xcb_visualtype_t xcb_visualtype_t
 xcb_visualtype_t
 
typedef struct xcb_visualtype_iterator_t xcb_visualtype_iterator_t
 xcb_visualtype_iterator_t
 
typedef struct xcb_depth_t xcb_depth_t
 xcb_depth_t
 
typedef struct xcb_depth_iterator_t xcb_depth_iterator_t
 xcb_depth_iterator_t
 
typedef enum xcb_event_mask_t xcb_event_mask_t
 
typedef enum xcb_backing_store_t xcb_backing_store_t
 
typedef struct xcb_screen_t xcb_screen_t
 xcb_screen_t
 
typedef struct xcb_screen_iterator_t xcb_screen_iterator_t
 xcb_screen_iterator_t
 
typedef struct xcb_setup_request_t xcb_setup_request_t
 xcb_setup_request_t
 
typedef struct xcb_setup_request_iterator_t xcb_setup_request_iterator_t
 xcb_setup_request_iterator_t
 
typedef struct xcb_setup_failed_t xcb_setup_failed_t
 xcb_setup_failed_t
 
typedef struct xcb_setup_failed_iterator_t xcb_setup_failed_iterator_t
 xcb_setup_failed_iterator_t
 
typedef struct xcb_setup_authenticate_t xcb_setup_authenticate_t
 xcb_setup_authenticate_t
 
typedef struct xcb_setup_authenticate_iterator_t xcb_setup_authenticate_iterator_t
 xcb_setup_authenticate_iterator_t
 
typedef enum xcb_image_order_t xcb_image_order_t
 
typedef struct xcb_setup_t xcb_setup_t
 xcb_setup_t
 
typedef struct xcb_setup_iterator_t xcb_setup_iterator_t
 xcb_setup_iterator_t
 
typedef enum xcb_mod_mask_t xcb_mod_mask_t
 
typedef enum xcb_key_but_mask_t xcb_key_but_mask_t
 
typedef enum xcb_window_enum_t xcb_window_enum_t
 
typedef struct xcb_key_press_event_t xcb_key_press_event_t
 xcb_key_press_event_t
 
typedef xcb_key_press_event_t xcb_key_release_event_t
 
typedef enum xcb_button_mask_t xcb_button_mask_t
 
typedef struct xcb_button_press_event_t xcb_button_press_event_t
 xcb_button_press_event_t
 
typedef xcb_button_press_event_t xcb_button_release_event_t
 
typedef enum xcb_motion_t xcb_motion_t
 
typedef struct xcb_motion_notify_event_t xcb_motion_notify_event_t
 xcb_motion_notify_event_t
 
typedef enum xcb_notify_detail_t xcb_notify_detail_t
 
typedef enum xcb_notify_mode_t xcb_notify_mode_t
 
typedef struct xcb_enter_notify_event_t xcb_enter_notify_event_t
 xcb_enter_notify_event_t
 
typedef xcb_enter_notify_event_t xcb_leave_notify_event_t
 
typedef struct xcb_focus_in_event_t xcb_focus_in_event_t
 xcb_focus_in_event_t
 
typedef xcb_focus_in_event_t xcb_focus_out_event_t
 
typedef struct xcb_keymap_notify_event_t xcb_keymap_notify_event_t
 xcb_keymap_notify_event_t
 
typedef struct xcb_expose_event_t xcb_expose_event_t
 xcb_expose_event_t
 
typedef struct xcb_graphics_exposure_event_t xcb_graphics_exposure_event_t
 xcb_graphics_exposure_event_t
 
typedef struct xcb_no_exposure_event_t xcb_no_exposure_event_t
 xcb_no_exposure_event_t
 
typedef enum xcb_visibility_t xcb_visibility_t
 
typedef struct xcb_visibility_notify_event_t xcb_visibility_notify_event_t
 xcb_visibility_notify_event_t
 
typedef struct xcb_create_notify_event_t xcb_create_notify_event_t
 xcb_create_notify_event_t
 
typedef struct xcb_destroy_notify_event_t xcb_destroy_notify_event_t
 xcb_destroy_notify_event_t
 
typedef struct xcb_unmap_notify_event_t xcb_unmap_notify_event_t
 xcb_unmap_notify_event_t
 
typedef struct xcb_map_notify_event_t xcb_map_notify_event_t
 xcb_map_notify_event_t
 
typedef struct xcb_map_request_event_t xcb_map_request_event_t
 xcb_map_request_event_t
 
typedef struct xcb_reparent_notify_event_t xcb_reparent_notify_event_t
 xcb_reparent_notify_event_t
 
typedef struct xcb_configure_notify_event_t xcb_configure_notify_event_t
 xcb_configure_notify_event_t
 
typedef struct xcb_configure_request_event_t xcb_configure_request_event_t
 xcb_configure_request_event_t
 
typedef struct xcb_gravity_notify_event_t xcb_gravity_notify_event_t
 xcb_gravity_notify_event_t
 
typedef struct xcb_resize_request_event_t xcb_resize_request_event_t
 xcb_resize_request_event_t
 
typedef enum xcb_place_t xcb_place_t
 
typedef struct xcb_circulate_notify_event_t xcb_circulate_notify_event_t
 xcb_circulate_notify_event_t
 
typedef xcb_circulate_notify_event_t xcb_circulate_request_event_t
 
typedef enum xcb_property_t xcb_property_t
 
typedef struct xcb_property_notify_event_t xcb_property_notify_event_t
 xcb_property_notify_event_t
 
typedef struct xcb_selection_clear_event_t xcb_selection_clear_event_t
 xcb_selection_clear_event_t
 
typedef enum xcb_time_t xcb_time_t
 
typedef enum xcb_atom_enum_t xcb_atom_enum_t
 
typedef struct xcb_selection_request_event_t xcb_selection_request_event_t
 xcb_selection_request_event_t
 
typedef struct xcb_selection_notify_event_t xcb_selection_notify_event_t
 xcb_selection_notify_event_t
 
typedef enum xcb_colormap_state_t xcb_colormap_state_t
 
typedef enum xcb_colormap_enum_t xcb_colormap_enum_t
 
typedef struct xcb_colormap_notify_event_t xcb_colormap_notify_event_t
 xcb_colormap_notify_event_t
 
typedef union xcb_client_message_data_t xcb_client_message_data_t
 xcb_client_message_data_t
 
typedef struct xcb_client_message_data_iterator_t xcb_client_message_data_iterator_t
 xcb_client_message_data_iterator_t
 
typedef struct xcb_client_message_event_t xcb_client_message_event_t
 xcb_client_message_event_t
 
typedef enum xcb_mapping_t xcb_mapping_t
 
typedef struct xcb_mapping_notify_event_t xcb_mapping_notify_event_t
 xcb_mapping_notify_event_t
 
typedef struct xcb_ge_generic_event_t xcb_ge_generic_event_t
 xcb_ge_generic_event_t
 
typedef struct xcb_request_error_t xcb_request_error_t
 xcb_request_error_t
 
typedef struct xcb_value_error_t xcb_value_error_t
 xcb_value_error_t
 
typedef xcb_value_error_t xcb_window_error_t
 
typedef xcb_value_error_t xcb_pixmap_error_t
 
typedef xcb_value_error_t xcb_atom_error_t
 
typedef xcb_value_error_t xcb_cursor_error_t
 
typedef xcb_value_error_t xcb_font_error_t
 
typedef xcb_request_error_t xcb_match_error_t
 
typedef xcb_value_error_t xcb_drawable_error_t
 
typedef xcb_request_error_t xcb_access_error_t
 
typedef xcb_request_error_t xcb_alloc_error_t
 
typedef xcb_value_error_t xcb_colormap_error_t
 
typedef xcb_value_error_t xcb_g_context_error_t
 
typedef xcb_value_error_t xcb_id_choice_error_t
 
typedef xcb_request_error_t xcb_name_error_t
 
typedef xcb_request_error_t xcb_length_error_t
 
typedef xcb_request_error_t xcb_implementation_error_t
 
typedef enum xcb_window_class_t xcb_window_class_t
 
typedef enum xcb_cw_t xcb_cw_t
 
typedef enum xcb_back_pixmap_t xcb_back_pixmap_t
 
typedef enum xcb_gravity_t xcb_gravity_t
 
typedef struct xcb_create_window_value_list_t xcb_create_window_value_list_t
 xcb_create_window_value_list_t
 
typedef struct xcb_create_window_request_t xcb_create_window_request_t
 xcb_create_window_request_t
 
typedef struct xcb_change_window_attributes_value_list_t xcb_change_window_attributes_value_list_t
 xcb_change_window_attributes_value_list_t
 
typedef struct xcb_change_window_attributes_request_t xcb_change_window_attributes_request_t
 xcb_change_window_attributes_request_t
 
typedef enum xcb_map_state_t xcb_map_state_t
 
typedef struct xcb_get_window_attributes_cookie_t xcb_get_window_attributes_cookie_t
 xcb_get_window_attributes_cookie_t
 
typedef struct xcb_get_window_attributes_request_t xcb_get_window_attributes_request_t
 xcb_get_window_attributes_request_t
 
typedef struct xcb_get_window_attributes_reply_t xcb_get_window_attributes_reply_t
 xcb_get_window_attributes_reply_t
 
typedef struct xcb_destroy_window_request_t xcb_destroy_window_request_t
 xcb_destroy_window_request_t
 
typedef struct xcb_destroy_subwindows_request_t xcb_destroy_subwindows_request_t
 xcb_destroy_subwindows_request_t
 
typedef enum xcb_set_mode_t xcb_set_mode_t
 
typedef struct xcb_change_save_set_request_t xcb_change_save_set_request_t
 xcb_change_save_set_request_t
 
typedef struct xcb_reparent_window_request_t xcb_reparent_window_request_t
 xcb_reparent_window_request_t
 
typedef struct xcb_map_window_request_t xcb_map_window_request_t
 xcb_map_window_request_t
 
typedef struct xcb_map_subwindows_request_t xcb_map_subwindows_request_t
 xcb_map_subwindows_request_t
 
typedef struct xcb_unmap_window_request_t xcb_unmap_window_request_t
 xcb_unmap_window_request_t
 
typedef struct xcb_unmap_subwindows_request_t xcb_unmap_subwindows_request_t
 xcb_unmap_subwindows_request_t
 
typedef enum xcb_config_window_t xcb_config_window_t
 
typedef enum xcb_stack_mode_t xcb_stack_mode_t
 
typedef struct xcb_configure_window_value_list_t xcb_configure_window_value_list_t
 xcb_configure_window_value_list_t
 
typedef struct xcb_configure_window_request_t xcb_configure_window_request_t
 xcb_configure_window_request_t
 
typedef enum xcb_circulate_t xcb_circulate_t
 
typedef struct xcb_circulate_window_request_t xcb_circulate_window_request_t
 xcb_circulate_window_request_t
 
typedef struct xcb_get_geometry_cookie_t xcb_get_geometry_cookie_t
 xcb_get_geometry_cookie_t
 
typedef struct xcb_get_geometry_request_t xcb_get_geometry_request_t
 xcb_get_geometry_request_t
 
typedef struct xcb_get_geometry_reply_t xcb_get_geometry_reply_t
 xcb_get_geometry_reply_t
 
typedef struct xcb_query_tree_cookie_t xcb_query_tree_cookie_t
 xcb_query_tree_cookie_t
 
typedef struct xcb_query_tree_request_t xcb_query_tree_request_t
 xcb_query_tree_request_t
 
typedef struct xcb_query_tree_reply_t xcb_query_tree_reply_t
 xcb_query_tree_reply_t
 
typedef struct xcb_intern_atom_cookie_t xcb_intern_atom_cookie_t
 xcb_intern_atom_cookie_t
 
typedef struct xcb_intern_atom_request_t xcb_intern_atom_request_t
 xcb_intern_atom_request_t
 
typedef struct xcb_intern_atom_reply_t xcb_intern_atom_reply_t
 xcb_intern_atom_reply_t
 
typedef struct xcb_get_atom_name_cookie_t xcb_get_atom_name_cookie_t
 xcb_get_atom_name_cookie_t
 
typedef struct xcb_get_atom_name_request_t xcb_get_atom_name_request_t
 xcb_get_atom_name_request_t
 
typedef struct xcb_get_atom_name_reply_t xcb_get_atom_name_reply_t
 xcb_get_atom_name_reply_t
 
typedef enum xcb_prop_mode_t xcb_prop_mode_t
 
typedef struct xcb_change_property_request_t xcb_change_property_request_t
 xcb_change_property_request_t
 
typedef struct xcb_delete_property_request_t xcb_delete_property_request_t
 xcb_delete_property_request_t
 
typedef enum xcb_get_property_type_t xcb_get_property_type_t
 
typedef struct xcb_get_property_cookie_t xcb_get_property_cookie_t
 xcb_get_property_cookie_t
 
typedef struct xcb_get_property_request_t xcb_get_property_request_t
 xcb_get_property_request_t
 
typedef struct xcb_get_property_reply_t xcb_get_property_reply_t
 xcb_get_property_reply_t
 
typedef struct xcb_list_properties_cookie_t xcb_list_properties_cookie_t
 xcb_list_properties_cookie_t
 
typedef struct xcb_list_properties_request_t xcb_list_properties_request_t
 xcb_list_properties_request_t
 
typedef struct xcb_list_properties_reply_t xcb_list_properties_reply_t
 xcb_list_properties_reply_t
 
typedef struct xcb_set_selection_owner_request_t xcb_set_selection_owner_request_t
 xcb_set_selection_owner_request_t
 
typedef struct xcb_get_selection_owner_cookie_t xcb_get_selection_owner_cookie_t
 xcb_get_selection_owner_cookie_t
 
typedef struct xcb_get_selection_owner_request_t xcb_get_selection_owner_request_t
 xcb_get_selection_owner_request_t
 
typedef struct xcb_get_selection_owner_reply_t xcb_get_selection_owner_reply_t
 xcb_get_selection_owner_reply_t
 
typedef struct xcb_convert_selection_request_t xcb_convert_selection_request_t
 xcb_convert_selection_request_t
 
typedef enum xcb_send_event_dest_t xcb_send_event_dest_t
 
typedef struct xcb_send_event_request_t xcb_send_event_request_t
 xcb_send_event_request_t
 
typedef enum xcb_grab_mode_t xcb_grab_mode_t
 
typedef enum xcb_grab_status_t xcb_grab_status_t
 
typedef enum xcb_cursor_enum_t xcb_cursor_enum_t
 
typedef struct xcb_grab_pointer_cookie_t xcb_grab_pointer_cookie_t
 xcb_grab_pointer_cookie_t
 
typedef struct xcb_grab_pointer_request_t xcb_grab_pointer_request_t
 xcb_grab_pointer_request_t
 
typedef struct xcb_grab_pointer_reply_t xcb_grab_pointer_reply_t
 xcb_grab_pointer_reply_t
 
typedef struct xcb_ungrab_pointer_request_t xcb_ungrab_pointer_request_t
 xcb_ungrab_pointer_request_t
 
typedef enum xcb_button_index_t xcb_button_index_t
 
typedef struct xcb_grab_button_request_t xcb_grab_button_request_t
 xcb_grab_button_request_t
 
typedef struct xcb_ungrab_button_request_t xcb_ungrab_button_request_t
 xcb_ungrab_button_request_t
 
typedef struct xcb_change_active_pointer_grab_request_t xcb_change_active_pointer_grab_request_t
 xcb_change_active_pointer_grab_request_t
 
typedef struct xcb_grab_keyboard_cookie_t xcb_grab_keyboard_cookie_t
 xcb_grab_keyboard_cookie_t
 
typedef struct xcb_grab_keyboard_request_t xcb_grab_keyboard_request_t
 xcb_grab_keyboard_request_t
 
typedef struct xcb_grab_keyboard_reply_t xcb_grab_keyboard_reply_t
 xcb_grab_keyboard_reply_t
 
typedef struct xcb_ungrab_keyboard_request_t xcb_ungrab_keyboard_request_t
 xcb_ungrab_keyboard_request_t
 
typedef enum xcb_grab_t xcb_grab_t
 
typedef struct xcb_grab_key_request_t xcb_grab_key_request_t
 xcb_grab_key_request_t
 
typedef struct xcb_ungrab_key_request_t xcb_ungrab_key_request_t
 xcb_ungrab_key_request_t
 
typedef enum xcb_allow_t xcb_allow_t
 
typedef struct xcb_allow_events_request_t xcb_allow_events_request_t
 xcb_allow_events_request_t
 
typedef struct xcb_grab_server_request_t xcb_grab_server_request_t
 xcb_grab_server_request_t
 
typedef struct xcb_ungrab_server_request_t xcb_ungrab_server_request_t
 xcb_ungrab_server_request_t
 
typedef struct xcb_query_pointer_cookie_t xcb_query_pointer_cookie_t
 xcb_query_pointer_cookie_t
 
typedef struct xcb_query_pointer_request_t xcb_query_pointer_request_t
 xcb_query_pointer_request_t
 
typedef struct xcb_query_pointer_reply_t xcb_query_pointer_reply_t
 xcb_query_pointer_reply_t
 
typedef struct xcb_timecoord_t xcb_timecoord_t
 xcb_timecoord_t
 
typedef struct xcb_timecoord_iterator_t xcb_timecoord_iterator_t
 xcb_timecoord_iterator_t
 
typedef struct xcb_get_motion_events_cookie_t xcb_get_motion_events_cookie_t
 xcb_get_motion_events_cookie_t
 
typedef struct xcb_get_motion_events_request_t xcb_get_motion_events_request_t
 xcb_get_motion_events_request_t
 
typedef struct xcb_get_motion_events_reply_t xcb_get_motion_events_reply_t
 xcb_get_motion_events_reply_t
 
typedef struct xcb_translate_coordinates_cookie_t xcb_translate_coordinates_cookie_t
 xcb_translate_coordinates_cookie_t
 
typedef struct xcb_translate_coordinates_request_t xcb_translate_coordinates_request_t
 xcb_translate_coordinates_request_t
 
typedef struct xcb_translate_coordinates_reply_t xcb_translate_coordinates_reply_t
 xcb_translate_coordinates_reply_t
 
typedef struct xcb_warp_pointer_request_t xcb_warp_pointer_request_t
 xcb_warp_pointer_request_t
 
typedef enum xcb_input_focus_t xcb_input_focus_t
 
typedef struct xcb_set_input_focus_request_t xcb_set_input_focus_request_t
 xcb_set_input_focus_request_t
 
typedef struct xcb_get_input_focus_cookie_t xcb_get_input_focus_cookie_t
 xcb_get_input_focus_cookie_t
 
typedef struct xcb_get_input_focus_request_t xcb_get_input_focus_request_t
 xcb_get_input_focus_request_t
 
typedef struct xcb_get_input_focus_reply_t xcb_get_input_focus_reply_t
 xcb_get_input_focus_reply_t
 
typedef struct xcb_query_keymap_cookie_t xcb_query_keymap_cookie_t
 xcb_query_keymap_cookie_t
 
typedef struct xcb_query_keymap_request_t xcb_query_keymap_request_t
 xcb_query_keymap_request_t
 
typedef struct xcb_query_keymap_reply_t xcb_query_keymap_reply_t
 xcb_query_keymap_reply_t
 
typedef struct xcb_open_font_request_t xcb_open_font_request_t
 xcb_open_font_request_t
 
typedef struct xcb_close_font_request_t xcb_close_font_request_t
 xcb_close_font_request_t
 
typedef enum xcb_font_draw_t xcb_font_draw_t
 
typedef struct xcb_fontprop_t xcb_fontprop_t
 xcb_fontprop_t
 
typedef struct xcb_fontprop_iterator_t xcb_fontprop_iterator_t
 xcb_fontprop_iterator_t
 
typedef struct xcb_charinfo_t xcb_charinfo_t
 xcb_charinfo_t
 
typedef struct xcb_charinfo_iterator_t xcb_charinfo_iterator_t
 xcb_charinfo_iterator_t
 
typedef struct xcb_query_font_cookie_t xcb_query_font_cookie_t
 xcb_query_font_cookie_t
 
typedef struct xcb_query_font_request_t xcb_query_font_request_t
 xcb_query_font_request_t
 
typedef struct xcb_query_font_reply_t xcb_query_font_reply_t
 xcb_query_font_reply_t
 
typedef struct xcb_query_text_extents_cookie_t xcb_query_text_extents_cookie_t
 xcb_query_text_extents_cookie_t
 
typedef struct xcb_query_text_extents_request_t xcb_query_text_extents_request_t
 xcb_query_text_extents_request_t
 
typedef struct xcb_query_text_extents_reply_t xcb_query_text_extents_reply_t
 xcb_query_text_extents_reply_t
 
typedef struct xcb_str_t xcb_str_t
 xcb_str_t
 
typedef struct xcb_str_iterator_t xcb_str_iterator_t
 xcb_str_iterator_t
 
typedef struct xcb_list_fonts_cookie_t xcb_list_fonts_cookie_t
 xcb_list_fonts_cookie_t
 
typedef struct xcb_list_fonts_request_t xcb_list_fonts_request_t
 xcb_list_fonts_request_t
 
typedef struct xcb_list_fonts_reply_t xcb_list_fonts_reply_t
 xcb_list_fonts_reply_t
 
typedef struct xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info_cookie_t
 xcb_list_fonts_with_info_cookie_t
 
typedef struct xcb_list_fonts_with_info_request_t xcb_list_fonts_with_info_request_t
 xcb_list_fonts_with_info_request_t
 
typedef struct xcb_list_fonts_with_info_reply_t xcb_list_fonts_with_info_reply_t
 xcb_list_fonts_with_info_reply_t
 
typedef struct xcb_set_font_path_request_t xcb_set_font_path_request_t
 xcb_set_font_path_request_t
 
typedef struct xcb_get_font_path_cookie_t xcb_get_font_path_cookie_t
 xcb_get_font_path_cookie_t
 
typedef struct xcb_get_font_path_request_t xcb_get_font_path_request_t
 xcb_get_font_path_request_t
 
typedef struct xcb_get_font_path_reply_t xcb_get_font_path_reply_t
 xcb_get_font_path_reply_t
 
typedef struct xcb_create_pixmap_request_t xcb_create_pixmap_request_t
 xcb_create_pixmap_request_t
 
typedef struct xcb_free_pixmap_request_t xcb_free_pixmap_request_t
 xcb_free_pixmap_request_t
 
typedef enum xcb_gc_t xcb_gc_t
 
typedef enum xcb_gx_t xcb_gx_t
 
typedef enum xcb_line_style_t xcb_line_style_t
 
typedef enum xcb_cap_style_t xcb_cap_style_t
 
typedef enum xcb_join_style_t xcb_join_style_t
 
typedef enum xcb_fill_style_t xcb_fill_style_t
 
typedef enum xcb_fill_rule_t xcb_fill_rule_t
 
typedef enum xcb_subwindow_mode_t xcb_subwindow_mode_t
 
typedef enum xcb_arc_mode_t xcb_arc_mode_t
 
typedef struct xcb_create_gc_value_list_t xcb_create_gc_value_list_t
 xcb_create_gc_value_list_t
 
typedef struct xcb_create_gc_request_t xcb_create_gc_request_t
 xcb_create_gc_request_t
 
typedef struct xcb_change_gc_value_list_t xcb_change_gc_value_list_t
 xcb_change_gc_value_list_t
 
typedef struct xcb_change_gc_request_t xcb_change_gc_request_t
 xcb_change_gc_request_t
 
typedef struct xcb_copy_gc_request_t xcb_copy_gc_request_t
 xcb_copy_gc_request_t
 
typedef struct xcb_set_dashes_request_t xcb_set_dashes_request_t
 xcb_set_dashes_request_t
 
typedef enum xcb_clip_ordering_t xcb_clip_ordering_t
 
typedef struct xcb_set_clip_rectangles_request_t xcb_set_clip_rectangles_request_t
 xcb_set_clip_rectangles_request_t
 
typedef struct xcb_free_gc_request_t xcb_free_gc_request_t
 xcb_free_gc_request_t
 
typedef struct xcb_clear_area_request_t xcb_clear_area_request_t
 xcb_clear_area_request_t
 
typedef struct xcb_copy_area_request_t xcb_copy_area_request_t
 xcb_copy_area_request_t
 
typedef struct xcb_copy_plane_request_t xcb_copy_plane_request_t
 xcb_copy_plane_request_t
 
typedef enum xcb_coord_mode_t xcb_coord_mode_t
 
typedef struct xcb_poly_point_request_t xcb_poly_point_request_t
 xcb_poly_point_request_t
 
typedef struct xcb_poly_line_request_t xcb_poly_line_request_t
 xcb_poly_line_request_t
 
typedef struct xcb_segment_t xcb_segment_t
 xcb_segment_t
 
typedef struct xcb_segment_iterator_t xcb_segment_iterator_t
 xcb_segment_iterator_t
 
typedef struct xcb_poly_segment_request_t xcb_poly_segment_request_t
 xcb_poly_segment_request_t
 
typedef struct xcb_poly_rectangle_request_t xcb_poly_rectangle_request_t
 xcb_poly_rectangle_request_t
 
typedef struct xcb_poly_arc_request_t xcb_poly_arc_request_t
 xcb_poly_arc_request_t
 
typedef enum xcb_poly_shape_t xcb_poly_shape_t
 
typedef struct xcb_fill_poly_request_t xcb_fill_poly_request_t
 xcb_fill_poly_request_t
 
typedef struct xcb_poly_fill_rectangle_request_t xcb_poly_fill_rectangle_request_t
 xcb_poly_fill_rectangle_request_t
 
typedef struct xcb_poly_fill_arc_request_t xcb_poly_fill_arc_request_t
 xcb_poly_fill_arc_request_t
 
typedef enum xcb_image_format_t xcb_image_format_t
 
typedef struct xcb_put_image_request_t xcb_put_image_request_t
 xcb_put_image_request_t
 
typedef struct xcb_get_image_cookie_t xcb_get_image_cookie_t
 xcb_get_image_cookie_t
 
typedef struct xcb_get_image_request_t xcb_get_image_request_t
 xcb_get_image_request_t
 
typedef struct xcb_get_image_reply_t xcb_get_image_reply_t
 xcb_get_image_reply_t
 
typedef struct xcb_poly_text_8_request_t xcb_poly_text_8_request_t
 xcb_poly_text_8_request_t
 
typedef struct xcb_poly_text_16_request_t xcb_poly_text_16_request_t
 xcb_poly_text_16_request_t
 
typedef struct xcb_image_text_8_request_t xcb_image_text_8_request_t
 xcb_image_text_8_request_t
 
typedef struct xcb_image_text_16_request_t xcb_image_text_16_request_t
 xcb_image_text_16_request_t
 
typedef enum xcb_colormap_alloc_t xcb_colormap_alloc_t
 
typedef struct xcb_create_colormap_request_t xcb_create_colormap_request_t
 xcb_create_colormap_request_t
 
typedef struct xcb_free_colormap_request_t xcb_free_colormap_request_t
 xcb_free_colormap_request_t
 
typedef struct xcb_copy_colormap_and_free_request_t xcb_copy_colormap_and_free_request_t
 xcb_copy_colormap_and_free_request_t
 
typedef struct xcb_install_colormap_request_t xcb_install_colormap_request_t
 xcb_install_colormap_request_t
 
typedef struct xcb_uninstall_colormap_request_t xcb_uninstall_colormap_request_t
 xcb_uninstall_colormap_request_t
 
typedef struct xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps_cookie_t
 xcb_list_installed_colormaps_cookie_t
 
typedef struct xcb_list_installed_colormaps_request_t xcb_list_installed_colormaps_request_t
 xcb_list_installed_colormaps_request_t
 
typedef struct xcb_list_installed_colormaps_reply_t xcb_list_installed_colormaps_reply_t
 xcb_list_installed_colormaps_reply_t
 
typedef struct xcb_alloc_color_cookie_t xcb_alloc_color_cookie_t
 xcb_alloc_color_cookie_t
 
typedef struct xcb_alloc_color_request_t xcb_alloc_color_request_t
 xcb_alloc_color_request_t
 
typedef struct xcb_alloc_color_reply_t xcb_alloc_color_reply_t
 xcb_alloc_color_reply_t
 
typedef struct xcb_alloc_named_color_cookie_t xcb_alloc_named_color_cookie_t
 xcb_alloc_named_color_cookie_t
 
typedef struct xcb_alloc_named_color_request_t xcb_alloc_named_color_request_t
 xcb_alloc_named_color_request_t
 
typedef struct xcb_alloc_named_color_reply_t xcb_alloc_named_color_reply_t
 xcb_alloc_named_color_reply_t
 
typedef struct xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells_cookie_t
 xcb_alloc_color_cells_cookie_t
 
typedef struct xcb_alloc_color_cells_request_t xcb_alloc_color_cells_request_t
 xcb_alloc_color_cells_request_t
 
typedef struct xcb_alloc_color_cells_reply_t xcb_alloc_color_cells_reply_t
 xcb_alloc_color_cells_reply_t
 
typedef struct xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes_cookie_t
 xcb_alloc_color_planes_cookie_t
 
typedef struct xcb_alloc_color_planes_request_t xcb_alloc_color_planes_request_t
 xcb_alloc_color_planes_request_t
 
typedef struct xcb_alloc_color_planes_reply_t xcb_alloc_color_planes_reply_t
 xcb_alloc_color_planes_reply_t
 
typedef struct xcb_free_colors_request_t xcb_free_colors_request_t
 xcb_free_colors_request_t
 
typedef enum xcb_color_flag_t xcb_color_flag_t
 
typedef struct xcb_coloritem_t xcb_coloritem_t
 xcb_coloritem_t
 
typedef struct xcb_coloritem_iterator_t xcb_coloritem_iterator_t
 xcb_coloritem_iterator_t
 
typedef struct xcb_store_colors_request_t xcb_store_colors_request_t
 xcb_store_colors_request_t
 
typedef struct xcb_store_named_color_request_t xcb_store_named_color_request_t
 xcb_store_named_color_request_t
 
typedef struct xcb_rgb_t xcb_rgb_t
 xcb_rgb_t
 
typedef struct xcb_rgb_iterator_t xcb_rgb_iterator_t
 xcb_rgb_iterator_t
 
typedef struct xcb_query_colors_cookie_t xcb_query_colors_cookie_t
 xcb_query_colors_cookie_t
 
typedef struct xcb_query_colors_request_t xcb_query_colors_request_t
 xcb_query_colors_request_t
 
typedef struct xcb_query_colors_reply_t xcb_query_colors_reply_t
 xcb_query_colors_reply_t
 
typedef struct xcb_lookup_color_cookie_t xcb_lookup_color_cookie_t
 xcb_lookup_color_cookie_t
 
typedef struct xcb_lookup_color_request_t xcb_lookup_color_request_t
 xcb_lookup_color_request_t
 
typedef struct xcb_lookup_color_reply_t xcb_lookup_color_reply_t
 xcb_lookup_color_reply_t
 
typedef enum xcb_pixmap_enum_t xcb_pixmap_enum_t
 
typedef struct xcb_create_cursor_request_t xcb_create_cursor_request_t
 xcb_create_cursor_request_t
 
typedef enum xcb_font_enum_t xcb_font_enum_t
 
typedef struct xcb_create_glyph_cursor_request_t xcb_create_glyph_cursor_request_t
 xcb_create_glyph_cursor_request_t
 
typedef struct xcb_free_cursor_request_t xcb_free_cursor_request_t
 xcb_free_cursor_request_t
 
typedef struct xcb_recolor_cursor_request_t xcb_recolor_cursor_request_t
 xcb_recolor_cursor_request_t
 
typedef enum xcb_query_shape_of_t xcb_query_shape_of_t
 
typedef struct xcb_query_best_size_cookie_t xcb_query_best_size_cookie_t
 xcb_query_best_size_cookie_t
 
typedef struct xcb_query_best_size_request_t xcb_query_best_size_request_t
 xcb_query_best_size_request_t
 
typedef struct xcb_query_best_size_reply_t xcb_query_best_size_reply_t
 xcb_query_best_size_reply_t
 
typedef struct xcb_query_extension_cookie_t xcb_query_extension_cookie_t
 xcb_query_extension_cookie_t
 
typedef struct xcb_query_extension_request_t xcb_query_extension_request_t
 xcb_query_extension_request_t
 
typedef struct xcb_query_extension_reply_t xcb_query_extension_reply_t
 xcb_query_extension_reply_t
 
typedef struct xcb_list_extensions_cookie_t xcb_list_extensions_cookie_t
 xcb_list_extensions_cookie_t
 
typedef struct xcb_list_extensions_request_t xcb_list_extensions_request_t
 xcb_list_extensions_request_t
 
typedef struct xcb_list_extensions_reply_t xcb_list_extensions_reply_t
 xcb_list_extensions_reply_t
 
typedef struct xcb_change_keyboard_mapping_request_t xcb_change_keyboard_mapping_request_t
 xcb_change_keyboard_mapping_request_t
 
typedef struct xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping_cookie_t
 xcb_get_keyboard_mapping_cookie_t
 
typedef struct xcb_get_keyboard_mapping_request_t xcb_get_keyboard_mapping_request_t
 xcb_get_keyboard_mapping_request_t
 
typedef struct xcb_get_keyboard_mapping_reply_t xcb_get_keyboard_mapping_reply_t
 xcb_get_keyboard_mapping_reply_t
 
typedef enum xcb_kb_t xcb_kb_t
 
typedef enum xcb_led_mode_t xcb_led_mode_t
 
typedef enum xcb_auto_repeat_mode_t xcb_auto_repeat_mode_t
 
typedef struct xcb_change_keyboard_control_value_list_t xcb_change_keyboard_control_value_list_t
 xcb_change_keyboard_control_value_list_t
 
typedef struct xcb_change_keyboard_control_request_t xcb_change_keyboard_control_request_t
 xcb_change_keyboard_control_request_t
 
typedef struct xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control_cookie_t
 xcb_get_keyboard_control_cookie_t
 
typedef struct xcb_get_keyboard_control_request_t xcb_get_keyboard_control_request_t
 xcb_get_keyboard_control_request_t
 
typedef struct xcb_get_keyboard_control_reply_t xcb_get_keyboard_control_reply_t
 xcb_get_keyboard_control_reply_t
 
typedef struct xcb_bell_request_t xcb_bell_request_t
 xcb_bell_request_t
 
typedef struct xcb_change_pointer_control_request_t xcb_change_pointer_control_request_t
 xcb_change_pointer_control_request_t
 
typedef struct xcb_get_pointer_control_cookie_t xcb_get_pointer_control_cookie_t
 xcb_get_pointer_control_cookie_t
 
typedef struct xcb_get_pointer_control_request_t xcb_get_pointer_control_request_t
 xcb_get_pointer_control_request_t
 
typedef struct xcb_get_pointer_control_reply_t xcb_get_pointer_control_reply_t
 xcb_get_pointer_control_reply_t
 
typedef enum xcb_blanking_t xcb_blanking_t
 
typedef enum xcb_exposures_t xcb_exposures_t
 
typedef struct xcb_set_screen_saver_request_t xcb_set_screen_saver_request_t
 xcb_set_screen_saver_request_t
 
typedef struct xcb_get_screen_saver_cookie_t xcb_get_screen_saver_cookie_t
 xcb_get_screen_saver_cookie_t
 
typedef struct xcb_get_screen_saver_request_t xcb_get_screen_saver_request_t
 xcb_get_screen_saver_request_t
 
typedef struct xcb_get_screen_saver_reply_t xcb_get_screen_saver_reply_t
 xcb_get_screen_saver_reply_t
 
typedef enum xcb_host_mode_t xcb_host_mode_t
 
typedef enum xcb_family_t xcb_family_t
 
typedef struct xcb_change_hosts_request_t xcb_change_hosts_request_t
 xcb_change_hosts_request_t
 
typedef struct xcb_host_t xcb_host_t
 xcb_host_t
 
typedef struct xcb_host_iterator_t xcb_host_iterator_t
 xcb_host_iterator_t
 
typedef struct xcb_list_hosts_cookie_t xcb_list_hosts_cookie_t
 xcb_list_hosts_cookie_t
 
typedef struct xcb_list_hosts_request_t xcb_list_hosts_request_t
 xcb_list_hosts_request_t
 
typedef struct xcb_list_hosts_reply_t xcb_list_hosts_reply_t
 xcb_list_hosts_reply_t
 
typedef enum xcb_access_control_t xcb_access_control_t
 
typedef struct xcb_set_access_control_request_t xcb_set_access_control_request_t
 xcb_set_access_control_request_t
 
typedef enum xcb_close_down_t xcb_close_down_t
 
typedef struct xcb_set_close_down_mode_request_t xcb_set_close_down_mode_request_t
 xcb_set_close_down_mode_request_t
 
typedef enum xcb_kill_t xcb_kill_t
 
typedef struct xcb_kill_client_request_t xcb_kill_client_request_t
 xcb_kill_client_request_t
 
typedef struct xcb_rotate_properties_request_t xcb_rotate_properties_request_t
 xcb_rotate_properties_request_t
 
typedef enum xcb_screen_saver_t xcb_screen_saver_t
 
typedef struct xcb_force_screen_saver_request_t xcb_force_screen_saver_request_t
 xcb_force_screen_saver_request_t
 
typedef enum xcb_mapping_status_t xcb_mapping_status_t
 
typedef struct xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping_cookie_t
 xcb_set_pointer_mapping_cookie_t
 
typedef struct xcb_set_pointer_mapping_request_t xcb_set_pointer_mapping_request_t
 xcb_set_pointer_mapping_request_t
 
typedef struct xcb_set_pointer_mapping_reply_t xcb_set_pointer_mapping_reply_t
 xcb_set_pointer_mapping_reply_t
 
typedef struct xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping_cookie_t
 xcb_get_pointer_mapping_cookie_t
 
typedef struct xcb_get_pointer_mapping_request_t xcb_get_pointer_mapping_request_t
 xcb_get_pointer_mapping_request_t
 
typedef struct xcb_get_pointer_mapping_reply_t xcb_get_pointer_mapping_reply_t
 xcb_get_pointer_mapping_reply_t
 
typedef enum xcb_map_index_t xcb_map_index_t
 
typedef struct xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping_cookie_t
 xcb_set_modifier_mapping_cookie_t
 
typedef struct xcb_set_modifier_mapping_request_t xcb_set_modifier_mapping_request_t
 xcb_set_modifier_mapping_request_t
 
typedef struct xcb_set_modifier_mapping_reply_t xcb_set_modifier_mapping_reply_t
 xcb_set_modifier_mapping_reply_t
 
typedef struct xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping_cookie_t
 xcb_get_modifier_mapping_cookie_t
 
typedef struct xcb_get_modifier_mapping_request_t xcb_get_modifier_mapping_request_t
 xcb_get_modifier_mapping_request_t
 
typedef struct xcb_get_modifier_mapping_reply_t xcb_get_modifier_mapping_reply_t
 xcb_get_modifier_mapping_reply_t
 
typedef struct xcb_no_operation_request_t xcb_no_operation_request_t
 xcb_no_operation_request_t
 

Enumerations

enum  xcb_visual_class_t {
  XCB_VISUAL_CLASS_STATIC_GRAY = 0, XCB_VISUAL_CLASS_GRAY_SCALE = 1, XCB_VISUAL_CLASS_STATIC_COLOR = 2, XCB_VISUAL_CLASS_PSEUDO_COLOR = 3,
  XCB_VISUAL_CLASS_TRUE_COLOR = 4, XCB_VISUAL_CLASS_DIRECT_COLOR = 5
}
 
enum  xcb_event_mask_t {
  XCB_EVENT_MASK_NO_EVENT = 0, XCB_EVENT_MASK_KEY_PRESS = 1, XCB_EVENT_MASK_KEY_RELEASE = 2, XCB_EVENT_MASK_BUTTON_PRESS = 4,
  XCB_EVENT_MASK_BUTTON_RELEASE = 8, XCB_EVENT_MASK_ENTER_WINDOW = 16, XCB_EVENT_MASK_LEAVE_WINDOW = 32, XCB_EVENT_MASK_POINTER_MOTION = 64,
  XCB_EVENT_MASK_POINTER_MOTION_HINT = 128, XCB_EVENT_MASK_BUTTON_1_MOTION = 256, XCB_EVENT_MASK_BUTTON_2_MOTION = 512, XCB_EVENT_MASK_BUTTON_3_MOTION = 1024,
  XCB_EVENT_MASK_BUTTON_4_MOTION = 2048, XCB_EVENT_MASK_BUTTON_5_MOTION = 4096, XCB_EVENT_MASK_BUTTON_MOTION = 8192, XCB_EVENT_MASK_KEYMAP_STATE = 16384,
  XCB_EVENT_MASK_EXPOSURE = 32768, XCB_EVENT_MASK_VISIBILITY_CHANGE = 65536, XCB_EVENT_MASK_STRUCTURE_NOTIFY = 131072, XCB_EVENT_MASK_RESIZE_REDIRECT = 262144,
  XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = 524288, XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = 1048576, XCB_EVENT_MASK_FOCUS_CHANGE = 2097152, XCB_EVENT_MASK_PROPERTY_CHANGE = 4194304,
  XCB_EVENT_MASK_COLOR_MAP_CHANGE = 8388608, XCB_EVENT_MASK_OWNER_GRAB_BUTTON = 16777216
}
 
enum  xcb_backing_store_t { XCB_BACKING_STORE_NOT_USEFUL = 0, XCB_BACKING_STORE_WHEN_MAPPED = 1, XCB_BACKING_STORE_ALWAYS = 2 }
 
enum  xcb_image_order_t { XCB_IMAGE_ORDER_LSB_FIRST = 0, XCB_IMAGE_ORDER_MSB_FIRST = 1 }
 
enum  xcb_mod_mask_t {
  XCB_MOD_MASK_SHIFT = 1, XCB_MOD_MASK_LOCK = 2, XCB_MOD_MASK_CONTROL = 4, XCB_MOD_MASK_1 = 8,
  XCB_MOD_MASK_2 = 16, XCB_MOD_MASK_3 = 32, XCB_MOD_MASK_4 = 64, XCB_MOD_MASK_5 = 128,
  XCB_MOD_MASK_ANY = 32768
}
 
enum  xcb_key_but_mask_t {
  XCB_KEY_BUT_MASK_SHIFT = 1, XCB_KEY_BUT_MASK_LOCK = 2, XCB_KEY_BUT_MASK_CONTROL = 4, XCB_KEY_BUT_MASK_MOD_1 = 8,
  XCB_KEY_BUT_MASK_MOD_2 = 16, XCB_KEY_BUT_MASK_MOD_3 = 32, XCB_KEY_BUT_MASK_MOD_4 = 64, XCB_KEY_BUT_MASK_MOD_5 = 128,
  XCB_KEY_BUT_MASK_BUTTON_1 = 256, XCB_KEY_BUT_MASK_BUTTON_2 = 512, XCB_KEY_BUT_MASK_BUTTON_3 = 1024, XCB_KEY_BUT_MASK_BUTTON_4 = 2048,
  XCB_KEY_BUT_MASK_BUTTON_5 = 4096
}
 
enum  xcb_window_enum_t { XCB_WINDOW_NONE = 0 }
 
enum  xcb_button_mask_t {
  XCB_BUTTON_MASK_1 = 256, XCB_BUTTON_MASK_2 = 512, XCB_BUTTON_MASK_3 = 1024, XCB_BUTTON_MASK_4 = 2048,
  XCB_BUTTON_MASK_5 = 4096, XCB_BUTTON_MASK_ANY = 32768
}
 
enum  xcb_motion_t { XCB_MOTION_NORMAL = 0, XCB_MOTION_HINT = 1 }
 
enum  xcb_notify_detail_t {
  XCB_NOTIFY_DETAIL_ANCESTOR = 0, XCB_NOTIFY_DETAIL_VIRTUAL = 1, XCB_NOTIFY_DETAIL_INFERIOR = 2, XCB_NOTIFY_DETAIL_NONLINEAR = 3,
  XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4, XCB_NOTIFY_DETAIL_POINTER = 5, XCB_NOTIFY_DETAIL_POINTER_ROOT = 6, XCB_NOTIFY_DETAIL_NONE = 7
}
 
enum  xcb_notify_mode_t { XCB_NOTIFY_MODE_NORMAL = 0, XCB_NOTIFY_MODE_GRAB = 1, XCB_NOTIFY_MODE_UNGRAB = 2, XCB_NOTIFY_MODE_WHILE_GRABBED = 3 }
 
enum  xcb_visibility_t { XCB_VISIBILITY_UNOBSCURED = 0, XCB_VISIBILITY_PARTIALLY_OBSCURED = 1, XCB_VISIBILITY_FULLY_OBSCURED = 2 }
 
enum  xcb_place_t { XCB_PLACE_ON_TOP = 0, XCB_PLACE_ON_BOTTOM = 1 }
 
enum  xcb_property_t { XCB_PROPERTY_NEW_VALUE = 0, XCB_PROPERTY_DELETE = 1 }
 
enum  xcb_time_t { XCB_TIME_CURRENT_TIME = 0 }
 
enum  xcb_atom_enum_t {
  XCB_ATOM_NONE = 0, XCB_ATOM_ANY = 0, XCB_ATOM_PRIMARY = 1, XCB_ATOM_SECONDARY = 2,
  XCB_ATOM_ARC = 3, XCB_ATOM_ATOM = 4, XCB_ATOM_BITMAP = 5, XCB_ATOM_CARDINAL = 6,
  XCB_ATOM_COLORMAP = 7, XCB_ATOM_CURSOR = 8, XCB_ATOM_CUT_BUFFER0 = 9, XCB_ATOM_CUT_BUFFER1 = 10,
  XCB_ATOM_CUT_BUFFER2 = 11, XCB_ATOM_CUT_BUFFER3 = 12, XCB_ATOM_CUT_BUFFER4 = 13, XCB_ATOM_CUT_BUFFER5 = 14,
  XCB_ATOM_CUT_BUFFER6 = 15, XCB_ATOM_CUT_BUFFER7 = 16, XCB_ATOM_DRAWABLE = 17, XCB_ATOM_FONT = 18,
  XCB_ATOM_INTEGER = 19, XCB_ATOM_PIXMAP = 20, XCB_ATOM_POINT = 21, XCB_ATOM_RECTANGLE = 22,
  XCB_ATOM_RESOURCE_MANAGER = 23, XCB_ATOM_RGB_COLOR_MAP = 24, XCB_ATOM_RGB_BEST_MAP = 25, XCB_ATOM_RGB_BLUE_MAP = 26,
  XCB_ATOM_RGB_DEFAULT_MAP = 27, XCB_ATOM_RGB_GRAY_MAP = 28, XCB_ATOM_RGB_GREEN_MAP = 29, XCB_ATOM_RGB_RED_MAP = 30,
  XCB_ATOM_STRING = 31, XCB_ATOM_VISUALID = 32, XCB_ATOM_WINDOW = 33, XCB_ATOM_WM_COMMAND = 34,
  XCB_ATOM_WM_HINTS = 35, XCB_ATOM_WM_CLIENT_MACHINE = 36, XCB_ATOM_WM_ICON_NAME = 37, XCB_ATOM_WM_ICON_SIZE = 38,
  XCB_ATOM_WM_NAME = 39, XCB_ATOM_WM_NORMAL_HINTS = 40, XCB_ATOM_WM_SIZE_HINTS = 41, XCB_ATOM_WM_ZOOM_HINTS = 42,
  XCB_ATOM_MIN_SPACE = 43, XCB_ATOM_NORM_SPACE = 44, XCB_ATOM_MAX_SPACE = 45, XCB_ATOM_END_SPACE = 46,
  XCB_ATOM_SUPERSCRIPT_X = 47, XCB_ATOM_SUPERSCRIPT_Y = 48, XCB_ATOM_SUBSCRIPT_X = 49, XCB_ATOM_SUBSCRIPT_Y = 50,
  XCB_ATOM_UNDERLINE_POSITION = 51, XCB_ATOM_UNDERLINE_THICKNESS = 52, XCB_ATOM_STRIKEOUT_ASCENT = 53, XCB_ATOM_STRIKEOUT_DESCENT = 54,
  XCB_ATOM_ITALIC_ANGLE = 55, XCB_ATOM_X_HEIGHT = 56, XCB_ATOM_QUAD_WIDTH = 57, XCB_ATOM_WEIGHT = 58,
  XCB_ATOM_POINT_SIZE = 59, XCB_ATOM_RESOLUTION = 60, XCB_ATOM_COPYRIGHT = 61, XCB_ATOM_NOTICE = 62,
  XCB_ATOM_FONT_NAME = 63, XCB_ATOM_FAMILY_NAME = 64, XCB_ATOM_FULL_NAME = 65, XCB_ATOM_CAP_HEIGHT = 66,
  XCB_ATOM_WM_CLASS = 67, XCB_ATOM_WM_TRANSIENT_FOR = 68
}
 
enum  xcb_colormap_state_t { XCB_COLORMAP_STATE_UNINSTALLED = 0, XCB_COLORMAP_STATE_INSTALLED = 1 }
 
enum  xcb_colormap_enum_t { XCB_COLORMAP_NONE = 0 }
 
enum  xcb_mapping_t { XCB_MAPPING_MODIFIER = 0, XCB_MAPPING_KEYBOARD = 1, XCB_MAPPING_POINTER = 2 }
 
enum  xcb_window_class_t { XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0, XCB_WINDOW_CLASS_INPUT_OUTPUT = 1, XCB_WINDOW_CLASS_INPUT_ONLY = 2 }
 
enum  xcb_cw_t {
  XCB_CW_BACK_PIXMAP = 1, XCB_CW_BACK_PIXEL = 2, XCB_CW_BORDER_PIXMAP = 4, XCB_CW_BORDER_PIXEL = 8,
  XCB_CW_BIT_GRAVITY = 16, XCB_CW_WIN_GRAVITY = 32, XCB_CW_BACKING_STORE = 64, XCB_CW_BACKING_PLANES = 128,
  XCB_CW_BACKING_PIXEL = 256, XCB_CW_OVERRIDE_REDIRECT = 512, XCB_CW_SAVE_UNDER = 1024, XCB_CW_EVENT_MASK = 2048,
  XCB_CW_DONT_PROPAGATE = 4096, XCB_CW_COLORMAP = 8192, XCB_CW_CURSOR = 16384
}
 
enum  xcb_back_pixmap_t { XCB_BACK_PIXMAP_NONE = 0, XCB_BACK_PIXMAP_PARENT_RELATIVE = 1 }
 
enum  xcb_gravity_t {
  XCB_GRAVITY_BIT_FORGET = 0, XCB_GRAVITY_WIN_UNMAP = 0, XCB_GRAVITY_NORTH_WEST = 1, XCB_GRAVITY_NORTH = 2,
  XCB_GRAVITY_NORTH_EAST = 3, XCB_GRAVITY_WEST = 4, XCB_GRAVITY_CENTER = 5, XCB_GRAVITY_EAST = 6,
  XCB_GRAVITY_SOUTH_WEST = 7, XCB_GRAVITY_SOUTH = 8, XCB_GRAVITY_SOUTH_EAST = 9, XCB_GRAVITY_STATIC = 10
}
 
enum  xcb_map_state_t { XCB_MAP_STATE_UNMAPPED = 0, XCB_MAP_STATE_UNVIEWABLE = 1, XCB_MAP_STATE_VIEWABLE = 2 }
 
enum  xcb_set_mode_t { XCB_SET_MODE_INSERT = 0, XCB_SET_MODE_DELETE = 1 }
 
enum  xcb_config_window_t {
  XCB_CONFIG_WINDOW_X = 1, XCB_CONFIG_WINDOW_Y = 2, XCB_CONFIG_WINDOW_WIDTH = 4, XCB_CONFIG_WINDOW_HEIGHT = 8,
  XCB_CONFIG_WINDOW_BORDER_WIDTH = 16, XCB_CONFIG_WINDOW_SIBLING = 32, XCB_CONFIG_WINDOW_STACK_MODE = 64
}
 
enum  xcb_stack_mode_t {
  XCB_STACK_MODE_ABOVE = 0, XCB_STACK_MODE_BELOW = 1, XCB_STACK_MODE_TOP_IF = 2, XCB_STACK_MODE_BOTTOM_IF = 3,
  XCB_STACK_MODE_OPPOSITE = 4
}
 
enum  xcb_circulate_t { XCB_CIRCULATE_RAISE_LOWEST = 0, XCB_CIRCULATE_LOWER_HIGHEST = 1 }
 
enum  xcb_prop_mode_t { XCB_PROP_MODE_REPLACE = 0, XCB_PROP_MODE_PREPEND = 1, XCB_PROP_MODE_APPEND = 2 }
 
enum  xcb_get_property_type_t { XCB_GET_PROPERTY_TYPE_ANY = 0 }
 
enum  xcb_send_event_dest_t { XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0, XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1 }
 
enum  xcb_grab_mode_t { XCB_GRAB_MODE_SYNC = 0, XCB_GRAB_MODE_ASYNC = 1 }
 
enum  xcb_grab_status_t {
  XCB_GRAB_STATUS_SUCCESS = 0, XCB_GRAB_STATUS_ALREADY_GRABBED = 1, XCB_GRAB_STATUS_INVALID_TIME = 2, XCB_GRAB_STATUS_NOT_VIEWABLE = 3,
  XCB_GRAB_STATUS_FROZEN = 4
}
 
enum  xcb_cursor_enum_t { XCB_CURSOR_NONE = 0 }
 
enum  xcb_button_index_t {
  XCB_BUTTON_INDEX_ANY = 0, XCB_BUTTON_INDEX_1 = 1, XCB_BUTTON_INDEX_2 = 2, XCB_BUTTON_INDEX_3 = 3,
  XCB_BUTTON_INDEX_4 = 4, XCB_BUTTON_INDEX_5 = 5
}
 
enum  xcb_grab_t { XCB_GRAB_ANY = 0 }
 
enum  xcb_allow_t {
  XCB_ALLOW_ASYNC_POINTER = 0, XCB_ALLOW_SYNC_POINTER = 1, XCB_ALLOW_REPLAY_POINTER = 2, XCB_ALLOW_ASYNC_KEYBOARD = 3,
  XCB_ALLOW_SYNC_KEYBOARD = 4, XCB_ALLOW_REPLAY_KEYBOARD = 5, XCB_ALLOW_ASYNC_BOTH = 6, XCB_ALLOW_SYNC_BOTH = 7
}
 
enum  xcb_input_focus_t { XCB_INPUT_FOCUS_NONE = 0, XCB_INPUT_FOCUS_POINTER_ROOT = 1, XCB_INPUT_FOCUS_PARENT = 2, XCB_INPUT_FOCUS_FOLLOW_KEYBOARD = 3 }
 
enum  xcb_font_draw_t { XCB_FONT_DRAW_LEFT_TO_RIGHT = 0, XCB_FONT_DRAW_RIGHT_TO_LEFT = 1 }
 
enum  xcb_gc_t {
  XCB_GC_FUNCTION = 1, XCB_GC_PLANE_MASK = 2, XCB_GC_FOREGROUND = 4, XCB_GC_BACKGROUND = 8,
  XCB_GC_LINE_WIDTH = 16, XCB_GC_LINE_STYLE = 32, XCB_GC_CAP_STYLE = 64, XCB_GC_JOIN_STYLE = 128,
  XCB_GC_FILL_STYLE = 256, XCB_GC_FILL_RULE = 512, XCB_GC_TILE = 1024, XCB_GC_STIPPLE = 2048,
  XCB_GC_TILE_STIPPLE_ORIGIN_X = 4096, XCB_GC_TILE_STIPPLE_ORIGIN_Y = 8192, XCB_GC_FONT = 16384, XCB_GC_SUBWINDOW_MODE = 32768,
  XCB_GC_GRAPHICS_EXPOSURES = 65536, XCB_GC_CLIP_ORIGIN_X = 131072, XCB_GC_CLIP_ORIGIN_Y = 262144, XCB_GC_CLIP_MASK = 524288,
  XCB_GC_DASH_OFFSET = 1048576, XCB_GC_DASH_LIST = 2097152, XCB_GC_ARC_MODE = 4194304
}
 
enum  xcb_gx_t {
  XCB_GX_CLEAR = 0, XCB_GX_AND = 1, XCB_GX_AND_REVERSE = 2, XCB_GX_COPY = 3,
  XCB_GX_AND_INVERTED = 4, XCB_GX_NOOP = 5, XCB_GX_XOR = 6, XCB_GX_OR = 7,
  XCB_GX_NOR = 8, XCB_GX_EQUIV = 9, XCB_GX_INVERT = 10, XCB_GX_OR_REVERSE = 11,
  XCB_GX_COPY_INVERTED = 12, XCB_GX_OR_INVERTED = 13, XCB_GX_NAND = 14, XCB_GX_SET = 15
}
 
enum  xcb_line_style_t { XCB_LINE_STYLE_SOLID = 0, XCB_LINE_STYLE_ON_OFF_DASH = 1, XCB_LINE_STYLE_DOUBLE_DASH = 2 }
 
enum  xcb_cap_style_t { XCB_CAP_STYLE_NOT_LAST = 0, XCB_CAP_STYLE_BUTT = 1, XCB_CAP_STYLE_ROUND = 2, XCB_CAP_STYLE_PROJECTING = 3 }
 
enum  xcb_join_style_t { XCB_JOIN_STYLE_MITER = 0, XCB_JOIN_STYLE_ROUND = 1, XCB_JOIN_STYLE_BEVEL = 2 }
 
enum  xcb_fill_style_t { XCB_FILL_STYLE_SOLID = 0, XCB_FILL_STYLE_TILED = 1, XCB_FILL_STYLE_STIPPLED = 2, XCB_FILL_STYLE_OPAQUE_STIPPLED = 3 }
 
enum  xcb_fill_rule_t { XCB_FILL_RULE_EVEN_ODD = 0, XCB_FILL_RULE_WINDING = 1 }
 
enum  xcb_subwindow_mode_t { XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0, XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1 }
 
enum  xcb_arc_mode_t { XCB_ARC_MODE_CHORD = 0, XCB_ARC_MODE_PIE_SLICE = 1 }
 
enum  xcb_clip_ordering_t { XCB_CLIP_ORDERING_UNSORTED = 0, XCB_CLIP_ORDERING_Y_SORTED = 1, XCB_CLIP_ORDERING_YX_SORTED = 2, XCB_CLIP_ORDERING_YX_BANDED = 3 }
 
enum  xcb_coord_mode_t { XCB_COORD_MODE_ORIGIN = 0, XCB_COORD_MODE_PREVIOUS = 1 }
 
enum  xcb_poly_shape_t { XCB_POLY_SHAPE_COMPLEX = 0, XCB_POLY_SHAPE_NONCONVEX = 1, XCB_POLY_SHAPE_CONVEX = 2 }
 
enum  xcb_image_format_t { XCB_IMAGE_FORMAT_XY_BITMAP = 0, XCB_IMAGE_FORMAT_XY_PIXMAP = 1, XCB_IMAGE_FORMAT_Z_PIXMAP = 2 }
 
enum  xcb_colormap_alloc_t { XCB_COLORMAP_ALLOC_NONE = 0, XCB_COLORMAP_ALLOC_ALL = 1 }
 
enum  xcb_color_flag_t { XCB_COLOR_FLAG_RED = 1, XCB_COLOR_FLAG_GREEN = 2, XCB_COLOR_FLAG_BLUE = 4 }
 
enum  xcb_pixmap_enum_t { XCB_PIXMAP_NONE = 0 }
 
enum  xcb_font_enum_t { XCB_FONT_NONE = 0 }
 
enum  xcb_query_shape_of_t { XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0, XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1, XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2 }
 
enum  xcb_kb_t {
  XCB_KB_KEY_CLICK_PERCENT = 1, XCB_KB_BELL_PERCENT = 2, XCB_KB_BELL_PITCH = 4, XCB_KB_BELL_DURATION = 8,
  XCB_KB_LED = 16, XCB_KB_LED_MODE = 32, XCB_KB_KEY = 64, XCB_KB_AUTO_REPEAT_MODE = 128
}
 
enum  xcb_led_mode_t { XCB_LED_MODE_OFF = 0, XCB_LED_MODE_ON = 1 }
 
enum  xcb_auto_repeat_mode_t { XCB_AUTO_REPEAT_MODE_OFF = 0, XCB_AUTO_REPEAT_MODE_ON = 1, XCB_AUTO_REPEAT_MODE_DEFAULT = 2 }
 
enum  xcb_blanking_t { XCB_BLANKING_NOT_PREFERRED = 0, XCB_BLANKING_PREFERRED = 1, XCB_BLANKING_DEFAULT = 2 }
 
enum  xcb_exposures_t { XCB_EXPOSURES_NOT_ALLOWED = 0, XCB_EXPOSURES_ALLOWED = 1, XCB_EXPOSURES_DEFAULT = 2 }
 
enum  xcb_host_mode_t { XCB_HOST_MODE_INSERT = 0, XCB_HOST_MODE_DELETE = 1 }
 
enum  xcb_family_t {
  XCB_FAMILY_INTERNET = 0, XCB_FAMILY_DECNET = 1, XCB_FAMILY_CHAOS = 2, XCB_FAMILY_SERVER_INTERPRETED = 5,
  XCB_FAMILY_INTERNET_6 = 6
}
 
enum  xcb_access_control_t { XCB_ACCESS_CONTROL_DISABLE = 0, XCB_ACCESS_CONTROL_ENABLE = 1 }
 
enum  xcb_close_down_t { XCB_CLOSE_DOWN_DESTROY_ALL = 0, XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1, XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2 }
 
enum  xcb_kill_t { XCB_KILL_ALL_TEMPORARY = 0 }
 
enum  xcb_screen_saver_t { XCB_SCREEN_SAVER_RESET = 0, XCB_SCREEN_SAVER_ACTIVE = 1 }
 
enum  xcb_mapping_status_t { XCB_MAPPING_STATUS_SUCCESS = 0, XCB_MAPPING_STATUS_BUSY = 1, XCB_MAPPING_STATUS_FAILURE = 2 }
 
enum  xcb_map_index_t {
  XCB_MAP_INDEX_SHIFT = 0, XCB_MAP_INDEX_LOCK = 1, XCB_MAP_INDEX_CONTROL = 2, XCB_MAP_INDEX_1 = 3,
  XCB_MAP_INDEX_2 = 4, XCB_MAP_INDEX_3 = 5, XCB_MAP_INDEX_4 = 6, XCB_MAP_INDEX_5 = 7
}
 

Functions

void xcb_char2b_next (xcb_char2b_iterator_t *i)
 
xcb_generic_iterator_t xcb_char2b_end (xcb_char2b_iterator_t i)
 
void xcb_window_next (xcb_window_iterator_t *i)
 
xcb_generic_iterator_t xcb_window_end (xcb_window_iterator_t i)
 
void xcb_pixmap_next (xcb_pixmap_iterator_t *i)
 
xcb_generic_iterator_t xcb_pixmap_end (xcb_pixmap_iterator_t i)
 
void xcb_cursor_next (xcb_cursor_iterator_t *i)
 
xcb_generic_iterator_t xcb_cursor_end (xcb_cursor_iterator_t i)
 
void xcb_font_next (xcb_font_iterator_t *i)
 
xcb_generic_iterator_t xcb_font_end (xcb_font_iterator_t i)
 
void xcb_gcontext_next (xcb_gcontext_iterator_t *i)
 
xcb_generic_iterator_t xcb_gcontext_end (xcb_gcontext_iterator_t i)
 
void xcb_colormap_next (xcb_colormap_iterator_t *i)
 
xcb_generic_iterator_t xcb_colormap_end (xcb_colormap_iterator_t i)
 
void xcb_atom_next (xcb_atom_iterator_t *i)
 
xcb_generic_iterator_t xcb_atom_end (xcb_atom_iterator_t i)
 
void xcb_drawable_next (xcb_drawable_iterator_t *i)
 
xcb_generic_iterator_t xcb_drawable_end (xcb_drawable_iterator_t i)
 
void xcb_fontable_next (xcb_fontable_iterator_t *i)
 
xcb_generic_iterator_t xcb_fontable_end (xcb_fontable_iterator_t i)
 
void xcb_bool32_next (xcb_bool32_iterator_t *i)
 
xcb_generic_iterator_t xcb_bool32_end (xcb_bool32_iterator_t i)
 
void xcb_visualid_next (xcb_visualid_iterator_t *i)
 
xcb_generic_iterator_t xcb_visualid_end (xcb_visualid_iterator_t i)
 
void xcb_timestamp_next (xcb_timestamp_iterator_t *i)
 
xcb_generic_iterator_t xcb_timestamp_end (xcb_timestamp_iterator_t i)
 
void xcb_keysym_next (xcb_keysym_iterator_t *i)
 
xcb_generic_iterator_t xcb_keysym_end (xcb_keysym_iterator_t i)
 
void xcb_keycode_next (xcb_keycode_iterator_t *i)
 
xcb_generic_iterator_t xcb_keycode_end (xcb_keycode_iterator_t i)
 
void xcb_keycode32_next (xcb_keycode32_iterator_t *i)
 
xcb_generic_iterator_t xcb_keycode32_end (xcb_keycode32_iterator_t i)
 
void xcb_button_next (xcb_button_iterator_t *i)
 
xcb_generic_iterator_t xcb_button_end (xcb_button_iterator_t i)
 
void xcb_point_next (xcb_point_iterator_t *i)
 
xcb_generic_iterator_t xcb_point_end (xcb_point_iterator_t i)
 
void xcb_rectangle_next (xcb_rectangle_iterator_t *i)
 
xcb_generic_iterator_t xcb_rectangle_end (xcb_rectangle_iterator_t i)
 
void xcb_arc_next (xcb_arc_iterator_t *i)
 
xcb_generic_iterator_t xcb_arc_end (xcb_arc_iterator_t i)
 
void xcb_format_next (xcb_format_iterator_t *i)
 
xcb_generic_iterator_t xcb_format_end (xcb_format_iterator_t i)
 
void xcb_visualtype_next (xcb_visualtype_iterator_t *i)
 
xcb_generic_iterator_t xcb_visualtype_end (xcb_visualtype_iterator_t i)
 
int xcb_depth_sizeof (const void *_buffer)
 
xcb_visualtype_txcb_depth_visuals (const xcb_depth_t *R)
 
int xcb_depth_visuals_length (const xcb_depth_t *R)
 
xcb_visualtype_iterator_t xcb_depth_visuals_iterator (const xcb_depth_t *R)
 
void xcb_depth_next (xcb_depth_iterator_t *i)
 
xcb_generic_iterator_t xcb_depth_end (xcb_depth_iterator_t i)
 
int xcb_screen_sizeof (const void *_buffer)
 
int xcb_screen_allowed_depths_length (const xcb_screen_t *R)
 
xcb_depth_iterator_t xcb_screen_allowed_depths_iterator (const xcb_screen_t *R)
 
void xcb_screen_next (xcb_screen_iterator_t *i)
 
xcb_generic_iterator_t xcb_screen_end (xcb_screen_iterator_t i)
 
int xcb_setup_request_sizeof (const void *_buffer)
 
char * xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R)
 
int xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R)
 
xcb_generic_iterator_t xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R)
 
char * xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R)
 
int xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R)
 
xcb_generic_iterator_t xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R)
 
void xcb_setup_request_next (xcb_setup_request_iterator_t *i)
 
xcb_generic_iterator_t xcb_setup_request_end (xcb_setup_request_iterator_t i)
 
int xcb_setup_failed_sizeof (const void *_buffer)
 
char * xcb_setup_failed_reason (const xcb_setup_failed_t *R)
 
int xcb_setup_failed_reason_length (const xcb_setup_failed_t *R)
 
xcb_generic_iterator_t xcb_setup_failed_reason_end (const xcb_setup_failed_t *R)
 
void xcb_setup_failed_next (xcb_setup_failed_iterator_t *i)
 
xcb_generic_iterator_t xcb_setup_failed_end (xcb_setup_failed_iterator_t i)
 
int xcb_setup_authenticate_sizeof (const void *_buffer)
 
char * xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R)
 
int xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R)
 
xcb_generic_iterator_t xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R)
 
void xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i)
 
xcb_generic_iterator_t xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i)
 
int xcb_setup_sizeof (const void *_buffer)
 
char * xcb_setup_vendor (const xcb_setup_t *R)
 
int xcb_setup_vendor_length (const xcb_setup_t *R)
 
xcb_generic_iterator_t xcb_setup_vendor_end (const xcb_setup_t *R)
 
xcb_format_txcb_setup_pixmap_formats (const xcb_setup_t *R)
 
int xcb_setup_pixmap_formats_length (const xcb_setup_t *R)
 
xcb_format_iterator_t xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R)
 
int xcb_setup_roots_length (const xcb_setup_t *R)
 
xcb_screen_iterator_t xcb_setup_roots_iterator (const xcb_setup_t *R)
 
void xcb_setup_next (xcb_setup_iterator_t *i)
 
xcb_generic_iterator_t xcb_setup_end (xcb_setup_iterator_t i)
 
void xcb_client_message_data_next (xcb_client_message_data_iterator_t *i)
 
xcb_generic_iterator_t xcb_client_message_data_end (xcb_client_message_data_iterator_t i)
 
int xcb_create_window_value_list_serialize (void **_buffer, uint32_t value_mask, const xcb_create_window_value_list_t *_aux)
 
int xcb_create_window_value_list_unpack (const void *_buffer, uint32_t value_mask, xcb_create_window_value_list_t *_aux)
 
int xcb_create_window_value_list_sizeof (const void *_buffer, uint32_t value_mask)
 
int xcb_create_window_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_create_window_checked (xcb_connection_t *c, uint8_t depth, xcb_window_t wid, xcb_window_t parent, int16_t x, int16_t y, uint16_t width, uint16_t height, uint16_t border_width, uint16_t _class, xcb_visualid_t visual, uint32_t value_mask, const void *value_list)
 Creates a window. More...
 
xcb_void_cookie_t xcb_create_window (xcb_connection_t *c, uint8_t depth, xcb_window_t wid, xcb_window_t parent, int16_t x, int16_t y, uint16_t width, uint16_t height, uint16_t border_width, uint16_t _class, xcb_visualid_t visual, uint32_t value_mask, const void *value_list)
 Creates a window. More...
 
xcb_void_cookie_t xcb_create_window_aux_checked (xcb_connection_t *c, uint8_t depth, xcb_window_t wid, xcb_window_t parent, int16_t x, int16_t y, uint16_t width, uint16_t height, uint16_t border_width, uint16_t _class, xcb_visualid_t visual, uint32_t value_mask, const xcb_create_window_value_list_t *value_list)
 Creates a window. More...
 
xcb_void_cookie_t xcb_create_window_aux (xcb_connection_t *c, uint8_t depth, xcb_window_t wid, xcb_window_t parent, int16_t x, int16_t y, uint16_t width, uint16_t height, uint16_t border_width, uint16_t _class, xcb_visualid_t visual, uint32_t value_mask, const xcb_create_window_value_list_t *value_list)
 Creates a window. More...
 
void * xcb_create_window_value_list (const xcb_create_window_request_t *R)
 
int xcb_change_window_attributes_value_list_serialize (void **_buffer, uint32_t value_mask, const xcb_change_window_attributes_value_list_t *_aux)
 
int xcb_change_window_attributes_value_list_unpack (const void *_buffer, uint32_t value_mask, xcb_change_window_attributes_value_list_t *_aux)
 
int xcb_change_window_attributes_value_list_sizeof (const void *_buffer, uint32_t value_mask)
 
int xcb_change_window_attributes_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_change_window_attributes_checked (xcb_connection_t *c, xcb_window_t window, uint32_t value_mask, const void *value_list)
 change window attributes More...
 
xcb_void_cookie_t xcb_change_window_attributes (xcb_connection_t *c, xcb_window_t window, uint32_t value_mask, const void *value_list)
 change window attributes More...
 
xcb_void_cookie_t xcb_change_window_attributes_aux_checked (xcb_connection_t *c, xcb_window_t window, uint32_t value_mask, const xcb_change_window_attributes_value_list_t *value_list)
 change window attributes More...
 
xcb_void_cookie_t xcb_change_window_attributes_aux (xcb_connection_t *c, xcb_window_t window, uint32_t value_mask, const xcb_change_window_attributes_value_list_t *value_list)
 change window attributes More...
 
void * xcb_change_window_attributes_value_list (const xcb_change_window_attributes_request_t *R)
 
xcb_get_window_attributes_cookie_t xcb_get_window_attributes (xcb_connection_t *c, xcb_window_t window)
 Gets window attributes. More...
 
xcb_get_window_attributes_cookie_t xcb_get_window_attributes_unchecked (xcb_connection_t *c, xcb_window_t window)
 Gets window attributes. More...
 
xcb_get_window_attributes_reply_txcb_get_window_attributes_reply (xcb_connection_t *c, xcb_get_window_attributes_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_void_cookie_t xcb_destroy_window_checked (xcb_connection_t *c, xcb_window_t window)
 Destroys a window. More...
 
xcb_void_cookie_t xcb_destroy_window (xcb_connection_t *c, xcb_window_t window)
 Destroys a window. More...
 
xcb_void_cookie_t xcb_destroy_subwindows_checked (xcb_connection_t *c, xcb_window_t window)
 
xcb_void_cookie_t xcb_destroy_subwindows (xcb_connection_t *c, xcb_window_t window)
 
xcb_void_cookie_t xcb_change_save_set_checked (xcb_connection_t *c, uint8_t mode, xcb_window_t window)
 Changes a client's save set. More...
 
xcb_void_cookie_t xcb_change_save_set (xcb_connection_t *c, uint8_t mode, xcb_window_t window)
 Changes a client's save set. More...
 
xcb_void_cookie_t xcb_reparent_window_checked (xcb_connection_t *c, xcb_window_t window, xcb_window_t parent, int16_t x, int16_t y)
 Reparents a window. More...
 
xcb_void_cookie_t xcb_reparent_window (xcb_connection_t *c, xcb_window_t window, xcb_window_t parent, int16_t x, int16_t y)
 Reparents a window. More...
 
xcb_void_cookie_t xcb_map_window_checked (xcb_connection_t *c, xcb_window_t window)
 Makes a window visible. More...
 
xcb_void_cookie_t xcb_map_window (xcb_connection_t *c, xcb_window_t window)
 Makes a window visible. More...
 
xcb_void_cookie_t xcb_map_subwindows_checked (xcb_connection_t *c, xcb_window_t window)
 
xcb_void_cookie_t xcb_map_subwindows (xcb_connection_t *c, xcb_window_t window)
 
xcb_void_cookie_t xcb_unmap_window_checked (xcb_connection_t *c, xcb_window_t window)
 Makes a window invisible. More...
 
xcb_void_cookie_t xcb_unmap_window (xcb_connection_t *c, xcb_window_t window)
 Makes a window invisible. More...
 
xcb_void_cookie_t xcb_unmap_subwindows_checked (xcb_connection_t *c, xcb_window_t window)
 
xcb_void_cookie_t xcb_unmap_subwindows (xcb_connection_t *c, xcb_window_t window)
 
int xcb_configure_window_value_list_serialize (void **_buffer, uint16_t value_mask, const xcb_configure_window_value_list_t *_aux)
 
int xcb_configure_window_value_list_unpack (const void *_buffer, uint16_t value_mask, xcb_configure_window_value_list_t *_aux)
 
int xcb_configure_window_value_list_sizeof (const void *_buffer, uint16_t value_mask)
 
int xcb_configure_window_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_configure_window_checked (xcb_connection_t *c, xcb_window_t window, uint16_t value_mask, const void *value_list)
 Configures window attributes. More...
 
xcb_void_cookie_t xcb_configure_window (xcb_connection_t *c, xcb_window_t window, uint16_t value_mask, const void *value_list)
 Configures window attributes. More...
 
xcb_void_cookie_t xcb_configure_window_aux_checked (xcb_connection_t *c, xcb_window_t window, uint16_t value_mask, const xcb_configure_window_value_list_t *value_list)
 Configures window attributes. More...
 
xcb_void_cookie_t xcb_configure_window_aux (xcb_connection_t *c, xcb_window_t window, uint16_t value_mask, const xcb_configure_window_value_list_t *value_list)
 Configures window attributes. More...
 
void * xcb_configure_window_value_list (const xcb_configure_window_request_t *R)
 
xcb_void_cookie_t xcb_circulate_window_checked (xcb_connection_t *c, uint8_t direction, xcb_window_t window)
 Change window stacking order. More...
 
xcb_void_cookie_t xcb_circulate_window (xcb_connection_t *c, uint8_t direction, xcb_window_t window)
 Change window stacking order. More...
 
xcb_get_geometry_cookie_t xcb_get_geometry (xcb_connection_t *c, xcb_drawable_t drawable)
 Get current window geometry. More...
 
xcb_get_geometry_cookie_t xcb_get_geometry_unchecked (xcb_connection_t *c, xcb_drawable_t drawable)
 Get current window geometry. More...
 
xcb_get_geometry_reply_txcb_get_geometry_reply (xcb_connection_t *c, xcb_get_geometry_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_query_tree_sizeof (const void *_buffer)
 
xcb_query_tree_cookie_t xcb_query_tree (xcb_connection_t *c, xcb_window_t window)
 query the window tree More...
 
xcb_query_tree_cookie_t xcb_query_tree_unchecked (xcb_connection_t *c, xcb_window_t window)
 query the window tree More...
 
xcb_window_t * xcb_query_tree_children (const xcb_query_tree_reply_t *R)
 
int xcb_query_tree_children_length (const xcb_query_tree_reply_t *R)
 
xcb_generic_iterator_t xcb_query_tree_children_end (const xcb_query_tree_reply_t *R)
 
xcb_query_tree_reply_txcb_query_tree_reply (xcb_connection_t *c, xcb_query_tree_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_intern_atom_sizeof (const void *_buffer)
 
xcb_intern_atom_cookie_t xcb_intern_atom (xcb_connection_t *c, uint8_t only_if_exists, uint16_t name_len, const char *name)
 Get atom identifier by name. More...
 
xcb_intern_atom_cookie_t xcb_intern_atom_unchecked (xcb_connection_t *c, uint8_t only_if_exists, uint16_t name_len, const char *name)
 Get atom identifier by name. More...
 
xcb_intern_atom_reply_txcb_intern_atom_reply (xcb_connection_t *c, xcb_intern_atom_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_get_atom_name_sizeof (const void *_buffer)
 
xcb_get_atom_name_cookie_t xcb_get_atom_name (xcb_connection_t *c, xcb_atom_t atom)
 
xcb_get_atom_name_cookie_t xcb_get_atom_name_unchecked (xcb_connection_t *c, xcb_atom_t atom)
 
char * xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R)
 
int xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R)
 
xcb_generic_iterator_t xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R)
 
xcb_get_atom_name_reply_txcb_get_atom_name_reply (xcb_connection_t *c, xcb_get_atom_name_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_change_property_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_change_property_checked (xcb_connection_t *c, uint8_t mode, xcb_window_t window, xcb_atom_t property, xcb_atom_t type, uint8_t format, uint32_t data_len, const void *data)
 Changes a window property. More...
 
xcb_void_cookie_t xcb_change_property (xcb_connection_t *c, uint8_t mode, xcb_window_t window, xcb_atom_t property, xcb_atom_t type, uint8_t format, uint32_t data_len, const void *data)
 Changes a window property. More...
 
void * xcb_change_property_data (const xcb_change_property_request_t *R)
 
int xcb_change_property_data_length (const xcb_change_property_request_t *R)
 
xcb_generic_iterator_t xcb_change_property_data_end (const xcb_change_property_request_t *R)
 
xcb_void_cookie_t xcb_delete_property_checked (xcb_connection_t *c, xcb_window_t window, xcb_atom_t property)
 
xcb_void_cookie_t xcb_delete_property (xcb_connection_t *c, xcb_window_t window, xcb_atom_t property)
 
int xcb_get_property_sizeof (const void *_buffer)
 
xcb_get_property_cookie_t xcb_get_property (xcb_connection_t *c, uint8_t _delete, xcb_window_t window, xcb_atom_t property, xcb_atom_t type, uint32_t long_offset, uint32_t long_length)
 Gets a window property. More...
 
xcb_get_property_cookie_t xcb_get_property_unchecked (xcb_connection_t *c, uint8_t _delete, xcb_window_t window, xcb_atom_t property, xcb_atom_t type, uint32_t long_offset, uint32_t long_length)
 Gets a window property. More...
 
void * xcb_get_property_value (const xcb_get_property_reply_t *R)
 
int xcb_get_property_value_length (const xcb_get_property_reply_t *R)
 
xcb_generic_iterator_t xcb_get_property_value_end (const xcb_get_property_reply_t *R)
 
xcb_get_property_reply_txcb_get_property_reply (xcb_connection_t *c, xcb_get_property_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_list_properties_sizeof (const void *_buffer)
 
xcb_list_properties_cookie_t xcb_list_properties (xcb_connection_t *c, xcb_window_t window)
 
xcb_list_properties_cookie_t xcb_list_properties_unchecked (xcb_connection_t *c, xcb_window_t window)
 
xcb_atom_t * xcb_list_properties_atoms (const xcb_list_properties_reply_t *R)
 
int xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R)
 
xcb_generic_iterator_t xcb_list_properties_atoms_end (const xcb_list_properties_reply_t *R)
 
xcb_list_properties_reply_txcb_list_properties_reply (xcb_connection_t *c, xcb_list_properties_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_void_cookie_t xcb_set_selection_owner_checked (xcb_connection_t *c, xcb_window_t owner, xcb_atom_t selection, xcb_timestamp_t time)
 Sets the owner of a selection. More...
 
xcb_void_cookie_t xcb_set_selection_owner (xcb_connection_t *c, xcb_window_t owner, xcb_atom_t selection, xcb_timestamp_t time)
 Sets the owner of a selection. More...
 
xcb_get_selection_owner_cookie_t xcb_get_selection_owner (xcb_connection_t *c, xcb_atom_t selection)
 Gets the owner of a selection. More...
 
xcb_get_selection_owner_cookie_t xcb_get_selection_owner_unchecked (xcb_connection_t *c, xcb_atom_t selection)
 Gets the owner of a selection. More...
 
xcb_get_selection_owner_reply_txcb_get_selection_owner_reply (xcb_connection_t *c, xcb_get_selection_owner_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_void_cookie_t xcb_convert_selection_checked (xcb_connection_t *c, xcb_window_t requestor, xcb_atom_t selection, xcb_atom_t target, xcb_atom_t property, xcb_timestamp_t time)
 
xcb_void_cookie_t xcb_convert_selection (xcb_connection_t *c, xcb_window_t requestor, xcb_atom_t selection, xcb_atom_t target, xcb_atom_t property, xcb_timestamp_t time)
 
xcb_void_cookie_t xcb_send_event_checked (xcb_connection_t *c, uint8_t propagate, xcb_window_t destination, uint32_t event_mask, const char *event)
 send an event More...
 
xcb_void_cookie_t xcb_send_event (xcb_connection_t *c, uint8_t propagate, xcb_window_t destination, uint32_t event_mask, const char *event)
 send an event More...
 
xcb_grab_pointer_cookie_t xcb_grab_pointer (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, uint16_t event_mask, uint8_t pointer_mode, uint8_t keyboard_mode, xcb_window_t confine_to, xcb_cursor_t cursor, xcb_timestamp_t time)
 Grab the pointer. More...
 
xcb_grab_pointer_cookie_t xcb_grab_pointer_unchecked (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, uint16_t event_mask, uint8_t pointer_mode, uint8_t keyboard_mode, xcb_window_t confine_to, xcb_cursor_t cursor, xcb_timestamp_t time)
 Grab the pointer. More...
 
xcb_grab_pointer_reply_txcb_grab_pointer_reply (xcb_connection_t *c, xcb_grab_pointer_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_void_cookie_t xcb_ungrab_pointer_checked (xcb_connection_t *c, xcb_timestamp_t time)
 release the pointer More...
 
xcb_void_cookie_t xcb_ungrab_pointer (xcb_connection_t *c, xcb_timestamp_t time)
 release the pointer More...
 
xcb_void_cookie_t xcb_grab_button_checked (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, uint16_t event_mask, uint8_t pointer_mode, uint8_t keyboard_mode, xcb_window_t confine_to, xcb_cursor_t cursor, uint8_t button, uint16_t modifiers)
 Grab pointer button(s) More...
 
xcb_void_cookie_t xcb_grab_button (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, uint16_t event_mask, uint8_t pointer_mode, uint8_t keyboard_mode, xcb_window_t confine_to, xcb_cursor_t cursor, uint8_t button, uint16_t modifiers)
 Grab pointer button(s) More...
 
xcb_void_cookie_t xcb_ungrab_button_checked (xcb_connection_t *c, uint8_t button, xcb_window_t grab_window, uint16_t modifiers)
 
xcb_void_cookie_t xcb_ungrab_button (xcb_connection_t *c, uint8_t button, xcb_window_t grab_window, uint16_t modifiers)
 
xcb_void_cookie_t xcb_change_active_pointer_grab_checked (xcb_connection_t *c, xcb_cursor_t cursor, xcb_timestamp_t time, uint16_t event_mask)
 
xcb_void_cookie_t xcb_change_active_pointer_grab (xcb_connection_t *c, xcb_cursor_t cursor, xcb_timestamp_t time, uint16_t event_mask)
 
xcb_grab_keyboard_cookie_t xcb_grab_keyboard (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, xcb_timestamp_t time, uint8_t pointer_mode, uint8_t keyboard_mode)
 Grab the keyboard. More...
 
xcb_grab_keyboard_cookie_t xcb_grab_keyboard_unchecked (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, xcb_timestamp_t time, uint8_t pointer_mode, uint8_t keyboard_mode)
 Grab the keyboard. More...
 
xcb_grab_keyboard_reply_txcb_grab_keyboard_reply (xcb_connection_t *c, xcb_grab_keyboard_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_void_cookie_t xcb_ungrab_keyboard_checked (xcb_connection_t *c, xcb_timestamp_t time)
 
xcb_void_cookie_t xcb_ungrab_keyboard (xcb_connection_t *c, xcb_timestamp_t time)
 
xcb_void_cookie_t xcb_grab_key_checked (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, uint16_t modifiers, xcb_keycode_t key, uint8_t pointer_mode, uint8_t keyboard_mode)
 Grab keyboard key(s) More...
 
xcb_void_cookie_t xcb_grab_key (xcb_connection_t *c, uint8_t owner_events, xcb_window_t grab_window, uint16_t modifiers, xcb_keycode_t key, uint8_t pointer_mode, uint8_t keyboard_mode)
 Grab keyboard key(s) More...
 
xcb_void_cookie_t xcb_ungrab_key_checked (xcb_connection_t *c, xcb_keycode_t key, xcb_window_t grab_window, uint16_t modifiers)
 release a key combination More...
 
xcb_void_cookie_t xcb_ungrab_key (xcb_connection_t *c, xcb_keycode_t key, xcb_window_t grab_window, uint16_t modifiers)
 release a key combination More...
 
xcb_void_cookie_t xcb_allow_events_checked (xcb_connection_t *c, uint8_t mode, xcb_timestamp_t time)
 release queued events More...
 
xcb_void_cookie_t xcb_allow_events (xcb_connection_t *c, uint8_t mode, xcb_timestamp_t time)
 release queued events More...
 
xcb_void_cookie_t xcb_grab_server_checked (xcb_connection_t *c)
 
xcb_void_cookie_t xcb_grab_server (xcb_connection_t *c)
 
xcb_void_cookie_t xcb_ungrab_server_checked (xcb_connection_t *c)
 
xcb_void_cookie_t xcb_ungrab_server (xcb_connection_t *c)
 
xcb_query_pointer_cookie_t xcb_query_pointer (xcb_connection_t *c, xcb_window_t window)
 get pointer coordinates More...
 
xcb_query_pointer_cookie_t xcb_query_pointer_unchecked (xcb_connection_t *c, xcb_window_t window)
 get pointer coordinates More...
 
xcb_query_pointer_reply_txcb_query_pointer_reply (xcb_connection_t *c, xcb_query_pointer_cookie_t cookie, xcb_generic_error_t **e)
 
void xcb_timecoord_next (xcb_timecoord_iterator_t *i)
 
xcb_generic_iterator_t xcb_timecoord_end (xcb_timecoord_iterator_t i)
 
int xcb_get_motion_events_sizeof (const void *_buffer)
 
xcb_get_motion_events_cookie_t xcb_get_motion_events (xcb_connection_t *c, xcb_window_t window, xcb_timestamp_t start, xcb_timestamp_t stop)
 
xcb_get_motion_events_cookie_t xcb_get_motion_events_unchecked (xcb_connection_t *c, xcb_window_t window, xcb_timestamp_t start, xcb_timestamp_t stop)
 
xcb_timecoord_txcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R)
 
int xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R)
 
xcb_timecoord_iterator_t xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R)
 
xcb_get_motion_events_reply_txcb_get_motion_events_reply (xcb_connection_t *c, xcb_get_motion_events_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_translate_coordinates_cookie_t xcb_translate_coordinates (xcb_connection_t *c, xcb_window_t src_window, xcb_window_t dst_window, int16_t src_x, int16_t src_y)
 
xcb_translate_coordinates_cookie_t xcb_translate_coordinates_unchecked (xcb_connection_t *c, xcb_window_t src_window, xcb_window_t dst_window, int16_t src_x, int16_t src_y)
 
xcb_translate_coordinates_reply_txcb_translate_coordinates_reply (xcb_connection_t *c, xcb_translate_coordinates_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_void_cookie_t xcb_warp_pointer_checked (xcb_connection_t *c, xcb_window_t src_window, xcb_window_t dst_window, int16_t src_x, int16_t src_y, uint16_t src_width, uint16_t src_height, int16_t dst_x, int16_t dst_y)
 move mouse pointer More...
 
xcb_void_cookie_t xcb_warp_pointer (xcb_connection_t *c, xcb_window_t src_window, xcb_window_t dst_window, int16_t src_x, int16_t src_y, uint16_t src_width, uint16_t src_height, int16_t dst_x, int16_t dst_y)
 move mouse pointer More...
 
xcb_void_cookie_t xcb_set_input_focus_checked (xcb_connection_t *c, uint8_t revert_to, xcb_window_t focus, xcb_timestamp_t time)
 Sets input focus. More...
 
xcb_void_cookie_t xcb_set_input_focus (xcb_connection_t *c, uint8_t revert_to, xcb_window_t focus, xcb_timestamp_t time)
 Sets input focus. More...
 
xcb_get_input_focus_cookie_t xcb_get_input_focus (xcb_connection_t *c)
 
xcb_get_input_focus_cookie_t xcb_get_input_focus_unchecked (xcb_connection_t *c)
 
xcb_get_input_focus_reply_txcb_get_input_focus_reply (xcb_connection_t *c, xcb_get_input_focus_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_query_keymap_cookie_t xcb_query_keymap (xcb_connection_t *c)
 
xcb_query_keymap_cookie_t xcb_query_keymap_unchecked (xcb_connection_t *c)
 
xcb_query_keymap_reply_txcb_query_keymap_reply (xcb_connection_t *c, xcb_query_keymap_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_open_font_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_open_font_checked (xcb_connection_t *c, xcb_font_t fid, uint16_t name_len, const char *name)
 opens a font More...
 
xcb_void_cookie_t xcb_open_font (xcb_connection_t *c, xcb_font_t fid, uint16_t name_len, const char *name)
 opens a font More...
 
char * xcb_open_font_name (const xcb_open_font_request_t *R)
 
int xcb_open_font_name_length (const xcb_open_font_request_t *R)
 
xcb_generic_iterator_t xcb_open_font_name_end (const xcb_open_font_request_t *R)
 
xcb_void_cookie_t xcb_close_font_checked (xcb_connection_t *c, xcb_font_t font)
 
xcb_void_cookie_t xcb_close_font (xcb_connection_t *c, xcb_font_t font)
 
void xcb_fontprop_next (xcb_fontprop_iterator_t *i)
 
xcb_generic_iterator_t xcb_fontprop_end (xcb_fontprop_iterator_t i)
 
void xcb_charinfo_next (xcb_charinfo_iterator_t *i)
 
xcb_generic_iterator_t xcb_charinfo_end (xcb_charinfo_iterator_t i)
 
int xcb_query_font_sizeof (const void *_buffer)
 
xcb_query_font_cookie_t xcb_query_font (xcb_connection_t *c, xcb_fontable_t font)
 query font metrics More...
 
xcb_query_font_cookie_t xcb_query_font_unchecked (xcb_connection_t *c, xcb_fontable_t font)
 query font metrics More...
 
xcb_fontprop_txcb_query_font_properties (const xcb_query_font_reply_t *R)
 
int xcb_query_font_properties_length (const xcb_query_font_reply_t *R)
 
xcb_fontprop_iterator_t xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R)
 
xcb_charinfo_txcb_query_font_char_infos (const xcb_query_font_reply_t *R)
 
int xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R)
 
xcb_charinfo_iterator_t xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R)
 
xcb_query_font_reply_txcb_query_font_reply (xcb_connection_t *c, xcb_query_font_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_query_text_extents_sizeof (const void *_buffer, uint32_t string_len)
 
xcb_query_text_extents_cookie_t xcb_query_text_extents (xcb_connection_t *c, xcb_fontable_t font, uint32_t string_len, const xcb_char2b_t *string)
 get text extents More...
 
xcb_query_text_extents_cookie_t xcb_query_text_extents_unchecked (xcb_connection_t *c, xcb_fontable_t font, uint32_t string_len, const xcb_char2b_t *string)
 get text extents More...
 
xcb_query_text_extents_reply_txcb_query_text_extents_reply (xcb_connection_t *c, xcb_query_text_extents_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_str_sizeof (const void *_buffer)
 
char * xcb_str_name (const xcb_str_t *R)
 
int xcb_str_name_length (const xcb_str_t *R)
 
xcb_generic_iterator_t xcb_str_name_end (const xcb_str_t *R)
 
void xcb_str_next (xcb_str_iterator_t *i)
 
xcb_generic_iterator_t xcb_str_end (xcb_str_iterator_t i)
 
int xcb_list_fonts_sizeof (const void *_buffer)
 
xcb_list_fonts_cookie_t xcb_list_fonts (xcb_connection_t *c, uint16_t max_names, uint16_t pattern_len, const char *pattern)
 get matching font names More...
 
xcb_list_fonts_cookie_t xcb_list_fonts_unchecked (xcb_connection_t *c, uint16_t max_names, uint16_t pattern_len, const char *pattern)
 get matching font names More...
 
int xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R)
 
xcb_str_iterator_t xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R)
 
xcb_list_fonts_reply_txcb_list_fonts_reply (xcb_connection_t *c, xcb_list_fonts_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_list_fonts_with_info_sizeof (const void *_buffer)
 
xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info (xcb_connection_t *c, uint16_t max_names, uint16_t pattern_len, const char *pattern)
 get matching font names and information More...
 
xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info_unchecked (xcb_connection_t *c, uint16_t max_names, uint16_t pattern_len, const char *pattern)
 get matching font names and information More...
 
xcb_fontprop_txcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R)
 
int xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R)
 
xcb_fontprop_iterator_t xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R)
 
char * xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R)
 
int xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R)
 
xcb_generic_iterator_t xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R)
 
xcb_list_fonts_with_info_reply_txcb_list_fonts_with_info_reply (xcb_connection_t *c, xcb_list_fonts_with_info_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_set_font_path_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_set_font_path_checked (xcb_connection_t *c, uint16_t font_qty, const xcb_str_t *font)
 
xcb_void_cookie_t xcb_set_font_path (xcb_connection_t *c, uint16_t font_qty, const xcb_str_t *font)
 
int xcb_set_font_path_font_length (const xcb_set_font_path_request_t *R)
 
xcb_str_iterator_t xcb_set_font_path_font_iterator (const xcb_set_font_path_request_t *R)
 
int xcb_get_font_path_sizeof (const void *_buffer)
 
xcb_get_font_path_cookie_t xcb_get_font_path (xcb_connection_t *c)
 
xcb_get_font_path_cookie_t xcb_get_font_path_unchecked (xcb_connection_t *c)
 
int xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R)
 
xcb_str_iterator_t xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R)
 
xcb_get_font_path_reply_txcb_get_font_path_reply (xcb_connection_t *c, xcb_get_font_path_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_void_cookie_t xcb_create_pixmap_checked (xcb_connection_t *c, uint8_t depth, xcb_pixmap_t pid, xcb_drawable_t drawable, uint16_t width, uint16_t height)
 Creates a pixmap. More...
 
xcb_void_cookie_t xcb_create_pixmap (xcb_connection_t *c, uint8_t depth, xcb_pixmap_t pid, xcb_drawable_t drawable, uint16_t width, uint16_t height)
 Creates a pixmap. More...
 
xcb_void_cookie_t xcb_free_pixmap_checked (xcb_connection_t *c, xcb_pixmap_t pixmap)
 Destroys a pixmap. More...
 
xcb_void_cookie_t xcb_free_pixmap (xcb_connection_t *c, xcb_pixmap_t pixmap)
 Destroys a pixmap. More...
 
int xcb_create_gc_value_list_serialize (void **_buffer, uint32_t value_mask, const xcb_create_gc_value_list_t *_aux)
 
int xcb_create_gc_value_list_unpack (const void *_buffer, uint32_t value_mask, xcb_create_gc_value_list_t *_aux)
 
int xcb_create_gc_value_list_sizeof (const void *_buffer, uint32_t value_mask)
 
int xcb_create_gc_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_create_gc_checked (xcb_connection_t *c, xcb_gcontext_t cid, xcb_drawable_t drawable, uint32_t value_mask, const void *value_list)
 Creates a graphics context. More...
 
xcb_void_cookie_t xcb_create_gc (xcb_connection_t *c, xcb_gcontext_t cid, xcb_drawable_t drawable, uint32_t value_mask, const void *value_list)
 Creates a graphics context. More...
 
xcb_void_cookie_t xcb_create_gc_aux_checked (xcb_connection_t *c, xcb_gcontext_t cid, xcb_drawable_t drawable, uint32_t value_mask, const xcb_create_gc_value_list_t *value_list)
 Creates a graphics context. More...
 
xcb_void_cookie_t xcb_create_gc_aux (xcb_connection_t *c, xcb_gcontext_t cid, xcb_drawable_t drawable, uint32_t value_mask, const xcb_create_gc_value_list_t *value_list)
 Creates a graphics context. More...
 
void * xcb_create_gc_value_list (const xcb_create_gc_request_t *R)
 
int xcb_change_gc_value_list_serialize (void **_buffer, uint32_t value_mask, const xcb_change_gc_value_list_t *_aux)
 
int xcb_change_gc_value_list_unpack (const void *_buffer, uint32_t value_mask, xcb_change_gc_value_list_t *_aux)
 
int xcb_change_gc_value_list_sizeof (const void *_buffer, uint32_t value_mask)
 
int xcb_change_gc_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_change_gc_checked (xcb_connection_t *c, xcb_gcontext_t gc, uint32_t value_mask, const void *value_list)
 change graphics context components More...
 
xcb_void_cookie_t xcb_change_gc (xcb_connection_t *c, xcb_gcontext_t gc, uint32_t value_mask, const void *value_list)
 change graphics context components More...
 
xcb_void_cookie_t xcb_change_gc_aux_checked (xcb_connection_t *c, xcb_gcontext_t gc, uint32_t value_mask, const xcb_change_gc_value_list_t *value_list)
 change graphics context components More...
 
xcb_void_cookie_t xcb_change_gc_aux (xcb_connection_t *c, xcb_gcontext_t gc, uint32_t value_mask, const xcb_change_gc_value_list_t *value_list)
 change graphics context components More...
 
void * xcb_change_gc_value_list (const xcb_change_gc_request_t *R)
 
xcb_void_cookie_t xcb_copy_gc_checked (xcb_connection_t *c, xcb_gcontext_t src_gc, xcb_gcontext_t dst_gc, uint32_t value_mask)
 
xcb_void_cookie_t xcb_copy_gc (xcb_connection_t *c, xcb_gcontext_t src_gc, xcb_gcontext_t dst_gc, uint32_t value_mask)
 
int xcb_set_dashes_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_set_dashes_checked (xcb_connection_t *c, xcb_gcontext_t gc, uint16_t dash_offset, uint16_t dashes_len, const uint8_t *dashes)
 
xcb_void_cookie_t xcb_set_dashes (xcb_connection_t *c, xcb_gcontext_t gc, uint16_t dash_offset, uint16_t dashes_len, const uint8_t *dashes)
 
uint8_t * xcb_set_dashes_dashes (const xcb_set_dashes_request_t *R)
 
int xcb_set_dashes_dashes_length (const xcb_set_dashes_request_t *R)
 
xcb_generic_iterator_t xcb_set_dashes_dashes_end (const xcb_set_dashes_request_t *R)
 
int xcb_set_clip_rectangles_sizeof (const void *_buffer, uint32_t rectangles_len)
 
xcb_void_cookie_t xcb_set_clip_rectangles_checked (xcb_connection_t *c, uint8_t ordering, xcb_gcontext_t gc, int16_t clip_x_origin, int16_t clip_y_origin, uint32_t rectangles_len, const xcb_rectangle_t *rectangles)
 
xcb_void_cookie_t xcb_set_clip_rectangles (xcb_connection_t *c, uint8_t ordering, xcb_gcontext_t gc, int16_t clip_x_origin, int16_t clip_y_origin, uint32_t rectangles_len, const xcb_rectangle_t *rectangles)
 
xcb_rectangle_txcb_set_clip_rectangles_rectangles (const xcb_set_clip_rectangles_request_t *R)
 
int xcb_set_clip_rectangles_rectangles_length (const xcb_set_clip_rectangles_request_t *R)
 
xcb_rectangle_iterator_t xcb_set_clip_rectangles_rectangles_iterator (const xcb_set_clip_rectangles_request_t *R)
 
xcb_void_cookie_t xcb_free_gc_checked (xcb_connection_t *c, xcb_gcontext_t gc)
 Destroys a graphics context. More...
 
xcb_void_cookie_t xcb_free_gc (xcb_connection_t *c, xcb_gcontext_t gc)
 Destroys a graphics context. More...
 
xcb_void_cookie_t xcb_clear_area_checked (xcb_connection_t *c, uint8_t exposures, xcb_window_t window, int16_t x, int16_t y, uint16_t width, uint16_t height)
 
xcb_void_cookie_t xcb_clear_area (xcb_connection_t *c, uint8_t exposures, xcb_window_t window, int16_t x, int16_t y, uint16_t width, uint16_t height)
 
xcb_void_cookie_t xcb_copy_area_checked (xcb_connection_t *c, xcb_drawable_t src_drawable, xcb_drawable_t dst_drawable, xcb_gcontext_t gc, int16_t src_x, int16_t src_y, int16_t dst_x, int16_t dst_y, uint16_t width, uint16_t height)
 copy areas More...
 
xcb_void_cookie_t xcb_copy_area (xcb_connection_t *c, xcb_drawable_t src_drawable, xcb_drawable_t dst_drawable, xcb_gcontext_t gc, int16_t src_x, int16_t src_y, int16_t dst_x, int16_t dst_y, uint16_t width, uint16_t height)
 copy areas More...
 
xcb_void_cookie_t xcb_copy_plane_checked (xcb_connection_t *c, xcb_drawable_t src_drawable, xcb_drawable_t dst_drawable, xcb_gcontext_t gc, int16_t src_x, int16_t src_y, int16_t dst_x, int16_t dst_y, uint16_t width, uint16_t height, uint32_t bit_plane)
 
xcb_void_cookie_t xcb_copy_plane (xcb_connection_t *c, xcb_drawable_t src_drawable, xcb_drawable_t dst_drawable, xcb_gcontext_t gc, int16_t src_x, int16_t src_y, int16_t dst_x, int16_t dst_y, uint16_t width, uint16_t height, uint32_t bit_plane)
 
int xcb_poly_point_sizeof (const void *_buffer, uint32_t points_len)
 
xcb_void_cookie_t xcb_poly_point_checked (xcb_connection_t *c, uint8_t coordinate_mode, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t points_len, const xcb_point_t *points)
 
xcb_void_cookie_t xcb_poly_point (xcb_connection_t *c, uint8_t coordinate_mode, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t points_len, const xcb_point_t *points)
 
xcb_point_txcb_poly_point_points (const xcb_poly_point_request_t *R)
 
int xcb_poly_point_points_length (const xcb_poly_point_request_t *R)
 
xcb_point_iterator_t xcb_poly_point_points_iterator (const xcb_poly_point_request_t *R)
 
int xcb_poly_line_sizeof (const void *_buffer, uint32_t points_len)
 
xcb_void_cookie_t xcb_poly_line_checked (xcb_connection_t *c, uint8_t coordinate_mode, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t points_len, const xcb_point_t *points)
 draw lines More...
 
xcb_void_cookie_t xcb_poly_line (xcb_connection_t *c, uint8_t coordinate_mode, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t points_len, const xcb_point_t *points)
 draw lines More...
 
xcb_point_txcb_poly_line_points (const xcb_poly_line_request_t *R)
 
int xcb_poly_line_points_length (const xcb_poly_line_request_t *R)
 
xcb_point_iterator_t xcb_poly_line_points_iterator (const xcb_poly_line_request_t *R)
 
void xcb_segment_next (xcb_segment_iterator_t *i)
 
xcb_generic_iterator_t xcb_segment_end (xcb_segment_iterator_t i)
 
int xcb_poly_segment_sizeof (const void *_buffer, uint32_t segments_len)
 
xcb_void_cookie_t xcb_poly_segment_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t segments_len, const xcb_segment_t *segments)
 draw lines More...
 
xcb_void_cookie_t xcb_poly_segment (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t segments_len, const xcb_segment_t *segments)
 draw lines More...
 
xcb_segment_txcb_poly_segment_segments (const xcb_poly_segment_request_t *R)
 
int xcb_poly_segment_segments_length (const xcb_poly_segment_request_t *R)
 
xcb_segment_iterator_t xcb_poly_segment_segments_iterator (const xcb_poly_segment_request_t *R)
 
int xcb_poly_rectangle_sizeof (const void *_buffer, uint32_t rectangles_len)
 
xcb_void_cookie_t xcb_poly_rectangle_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t rectangles_len, const xcb_rectangle_t *rectangles)
 
xcb_void_cookie_t xcb_poly_rectangle (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t rectangles_len, const xcb_rectangle_t *rectangles)
 
xcb_rectangle_txcb_poly_rectangle_rectangles (const xcb_poly_rectangle_request_t *R)
 
int xcb_poly_rectangle_rectangles_length (const xcb_poly_rectangle_request_t *R)
 
xcb_rectangle_iterator_t xcb_poly_rectangle_rectangles_iterator (const xcb_poly_rectangle_request_t *R)
 
int xcb_poly_arc_sizeof (const void *_buffer, uint32_t arcs_len)
 
xcb_void_cookie_t xcb_poly_arc_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t arcs_len, const xcb_arc_t *arcs)
 
xcb_void_cookie_t xcb_poly_arc (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t arcs_len, const xcb_arc_t *arcs)
 
xcb_arc_txcb_poly_arc_arcs (const xcb_poly_arc_request_t *R)
 
int xcb_poly_arc_arcs_length (const xcb_poly_arc_request_t *R)
 
xcb_arc_iterator_t xcb_poly_arc_arcs_iterator (const xcb_poly_arc_request_t *R)
 
int xcb_fill_poly_sizeof (const void *_buffer, uint32_t points_len)
 
xcb_void_cookie_t xcb_fill_poly_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint8_t shape, uint8_t coordinate_mode, uint32_t points_len, const xcb_point_t *points)
 
xcb_void_cookie_t xcb_fill_poly (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint8_t shape, uint8_t coordinate_mode, uint32_t points_len, const xcb_point_t *points)
 
xcb_point_txcb_fill_poly_points (const xcb_fill_poly_request_t *R)
 
int xcb_fill_poly_points_length (const xcb_fill_poly_request_t *R)
 
xcb_point_iterator_t xcb_fill_poly_points_iterator (const xcb_fill_poly_request_t *R)
 
int xcb_poly_fill_rectangle_sizeof (const void *_buffer, uint32_t rectangles_len)
 
xcb_void_cookie_t xcb_poly_fill_rectangle_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t rectangles_len, const xcb_rectangle_t *rectangles)
 Fills rectangles. More...
 
xcb_void_cookie_t xcb_poly_fill_rectangle (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t rectangles_len, const xcb_rectangle_t *rectangles)
 Fills rectangles. More...
 
xcb_rectangle_txcb_poly_fill_rectangle_rectangles (const xcb_poly_fill_rectangle_request_t *R)
 
int xcb_poly_fill_rectangle_rectangles_length (const xcb_poly_fill_rectangle_request_t *R)
 
xcb_rectangle_iterator_t xcb_poly_fill_rectangle_rectangles_iterator (const xcb_poly_fill_rectangle_request_t *R)
 
int xcb_poly_fill_arc_sizeof (const void *_buffer, uint32_t arcs_len)
 
xcb_void_cookie_t xcb_poly_fill_arc_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t arcs_len, const xcb_arc_t *arcs)
 
xcb_void_cookie_t xcb_poly_fill_arc (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, uint32_t arcs_len, const xcb_arc_t *arcs)
 
xcb_arc_txcb_poly_fill_arc_arcs (const xcb_poly_fill_arc_request_t *R)
 
int xcb_poly_fill_arc_arcs_length (const xcb_poly_fill_arc_request_t *R)
 
xcb_arc_iterator_t xcb_poly_fill_arc_arcs_iterator (const xcb_poly_fill_arc_request_t *R)
 
int xcb_put_image_sizeof (const void *_buffer, uint32_t data_len)
 
xcb_void_cookie_t xcb_put_image_checked (xcb_connection_t *c, uint8_t format, xcb_drawable_t drawable, xcb_gcontext_t gc, uint16_t width, uint16_t height, int16_t dst_x, int16_t dst_y, uint8_t left_pad, uint8_t depth, uint32_t data_len, const uint8_t *data)
 
xcb_void_cookie_t xcb_put_image (xcb_connection_t *c, uint8_t format, xcb_drawable_t drawable, xcb_gcontext_t gc, uint16_t width, uint16_t height, int16_t dst_x, int16_t dst_y, uint8_t left_pad, uint8_t depth, uint32_t data_len, const uint8_t *data)
 
uint8_t * xcb_put_image_data (const xcb_put_image_request_t *R)
 
int xcb_put_image_data_length (const xcb_put_image_request_t *R)
 
xcb_generic_iterator_t xcb_put_image_data_end (const xcb_put_image_request_t *R)
 
int xcb_get_image_sizeof (const void *_buffer)
 
xcb_get_image_cookie_t xcb_get_image (xcb_connection_t *c, uint8_t format, xcb_drawable_t drawable, int16_t x, int16_t y, uint16_t width, uint16_t height, uint32_t plane_mask)
 
xcb_get_image_cookie_t xcb_get_image_unchecked (xcb_connection_t *c, uint8_t format, xcb_drawable_t drawable, int16_t x, int16_t y, uint16_t width, uint16_t height, uint32_t plane_mask)
 
uint8_t * xcb_get_image_data (const xcb_get_image_reply_t *R)
 
int xcb_get_image_data_length (const xcb_get_image_reply_t *R)
 
xcb_generic_iterator_t xcb_get_image_data_end (const xcb_get_image_reply_t *R)
 
xcb_get_image_reply_txcb_get_image_reply (xcb_connection_t *c, xcb_get_image_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_poly_text_8_sizeof (const void *_buffer, uint32_t items_len)
 
xcb_void_cookie_t xcb_poly_text_8_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, uint32_t items_len, const uint8_t *items)
 
xcb_void_cookie_t xcb_poly_text_8 (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, uint32_t items_len, const uint8_t *items)
 
uint8_t * xcb_poly_text_8_items (const xcb_poly_text_8_request_t *R)
 
int xcb_poly_text_8_items_length (const xcb_poly_text_8_request_t *R)
 
xcb_generic_iterator_t xcb_poly_text_8_items_end (const xcb_poly_text_8_request_t *R)
 
int xcb_poly_text_16_sizeof (const void *_buffer, uint32_t items_len)
 
xcb_void_cookie_t xcb_poly_text_16_checked (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, uint32_t items_len, const uint8_t *items)
 
xcb_void_cookie_t xcb_poly_text_16 (xcb_connection_t *c, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, uint32_t items_len, const uint8_t *items)
 
uint8_t * xcb_poly_text_16_items (const xcb_poly_text_16_request_t *R)
 
int xcb_poly_text_16_items_length (const xcb_poly_text_16_request_t *R)
 
xcb_generic_iterator_t xcb_poly_text_16_items_end (const xcb_poly_text_16_request_t *R)
 
int xcb_image_text_8_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_image_text_8_checked (xcb_connection_t *c, uint8_t string_len, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, const char *string)
 Draws text. More...
 
xcb_void_cookie_t xcb_image_text_8 (xcb_connection_t *c, uint8_t string_len, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, const char *string)
 Draws text. More...
 
char * xcb_image_text_8_string (const xcb_image_text_8_request_t *R)
 
int xcb_image_text_8_string_length (const xcb_image_text_8_request_t *R)
 
xcb_generic_iterator_t xcb_image_text_8_string_end (const xcb_image_text_8_request_t *R)
 
int xcb_image_text_16_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_image_text_16_checked (xcb_connection_t *c, uint8_t string_len, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, const xcb_char2b_t *string)
 Draws text. More...
 
xcb_void_cookie_t xcb_image_text_16 (xcb_connection_t *c, uint8_t string_len, xcb_drawable_t drawable, xcb_gcontext_t gc, int16_t x, int16_t y, const xcb_char2b_t *string)
 Draws text. More...
 
xcb_char2b_txcb_image_text_16_string (const xcb_image_text_16_request_t *R)
 
int xcb_image_text_16_string_length (const xcb_image_text_16_request_t *R)
 
xcb_char2b_iterator_t xcb_image_text_16_string_iterator (const xcb_image_text_16_request_t *R)
 
xcb_void_cookie_t xcb_create_colormap_checked (xcb_connection_t *c, uint8_t alloc, xcb_colormap_t mid, xcb_window_t window, xcb_visualid_t visual)
 
xcb_void_cookie_t xcb_create_colormap (xcb_connection_t *c, uint8_t alloc, xcb_colormap_t mid, xcb_window_t window, xcb_visualid_t visual)
 
xcb_void_cookie_t xcb_free_colormap_checked (xcb_connection_t *c, xcb_colormap_t cmap)
 
xcb_void_cookie_t xcb_free_colormap (xcb_connection_t *c, xcb_colormap_t cmap)
 
xcb_void_cookie_t xcb_copy_colormap_and_free_checked (xcb_connection_t *c, xcb_colormap_t mid, xcb_colormap_t src_cmap)
 
xcb_void_cookie_t xcb_copy_colormap_and_free (xcb_connection_t *c, xcb_colormap_t mid, xcb_colormap_t src_cmap)
 
xcb_void_cookie_t xcb_install_colormap_checked (xcb_connection_t *c, xcb_colormap_t cmap)
 
xcb_void_cookie_t xcb_install_colormap (xcb_connection_t *c, xcb_colormap_t cmap)
 
xcb_void_cookie_t xcb_uninstall_colormap_checked (xcb_connection_t *c, xcb_colormap_t cmap)
 
xcb_void_cookie_t xcb_uninstall_colormap (xcb_connection_t *c, xcb_colormap_t cmap)
 
int xcb_list_installed_colormaps_sizeof (const void *_buffer)
 
xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps (xcb_connection_t *c, xcb_window_t window)
 
xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps_unchecked (xcb_connection_t *c, xcb_window_t window)
 
xcb_colormap_t * xcb_list_installed_colormaps_cmaps (const xcb_list_installed_colormaps_reply_t *R)
 
int xcb_list_installed_colormaps_cmaps_length (const xcb_list_installed_colormaps_reply_t *R)
 
xcb_generic_iterator_t xcb_list_installed_colormaps_cmaps_end (const xcb_list_installed_colormaps_reply_t *R)
 
xcb_list_installed_colormaps_reply_txcb_list_installed_colormaps_reply (xcb_connection_t *c, xcb_list_installed_colormaps_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_alloc_color_cookie_t xcb_alloc_color (xcb_connection_t *c, xcb_colormap_t cmap, uint16_t red, uint16_t green, uint16_t blue)
 Allocate a color. More...
 
xcb_alloc_color_cookie_t xcb_alloc_color_unchecked (xcb_connection_t *c, xcb_colormap_t cmap, uint16_t red, uint16_t green, uint16_t blue)
 Allocate a color. More...
 
xcb_alloc_color_reply_txcb_alloc_color_reply (xcb_connection_t *c, xcb_alloc_color_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_alloc_named_color_sizeof (const void *_buffer)
 
xcb_alloc_named_color_cookie_t xcb_alloc_named_color (xcb_connection_t *c, xcb_colormap_t cmap, uint16_t name_len, const char *name)
 
xcb_alloc_named_color_cookie_t xcb_alloc_named_color_unchecked (xcb_connection_t *c, xcb_colormap_t cmap, uint16_t name_len, const char *name)
 
xcb_alloc_named_color_reply_txcb_alloc_named_color_reply (xcb_connection_t *c, xcb_alloc_named_color_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_alloc_color_cells_sizeof (const void *_buffer)
 
xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells (xcb_connection_t *c, uint8_t contiguous, xcb_colormap_t cmap, uint16_t colors, uint16_t planes)
 
xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells_unchecked (xcb_connection_t *c, uint8_t contiguous, xcb_colormap_t cmap, uint16_t colors, uint16_t planes)
 
uint32_t * xcb_alloc_color_cells_pixels (const xcb_alloc_color_cells_reply_t *R)
 
int xcb_alloc_color_cells_pixels_length (const xcb_alloc_color_cells_reply_t *R)
 
xcb_generic_iterator_t xcb_alloc_color_cells_pixels_end (const xcb_alloc_color_cells_reply_t *R)
 
uint32_t * xcb_alloc_color_cells_masks (const xcb_alloc_color_cells_reply_t *R)
 
int xcb_alloc_color_cells_masks_length (const xcb_alloc_color_cells_reply_t *R)
 
xcb_generic_iterator_t xcb_alloc_color_cells_masks_end (const xcb_alloc_color_cells_reply_t *R)
 
xcb_alloc_color_cells_reply_txcb_alloc_color_cells_reply (xcb_connection_t *c, xcb_alloc_color_cells_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_alloc_color_planes_sizeof (const void *_buffer)
 
xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes (xcb_connection_t *c, uint8_t contiguous, xcb_colormap_t cmap, uint16_t colors, uint16_t reds, uint16_t greens, uint16_t blues)
 
xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes_unchecked (xcb_connection_t *c, uint8_t contiguous, xcb_colormap_t cmap, uint16_t colors, uint16_t reds, uint16_t greens, uint16_t blues)
 
uint32_t * xcb_alloc_color_planes_pixels (const xcb_alloc_color_planes_reply_t *R)
 
int xcb_alloc_color_planes_pixels_length (const xcb_alloc_color_planes_reply_t *R)
 
xcb_generic_iterator_t xcb_alloc_color_planes_pixels_end (const xcb_alloc_color_planes_reply_t *R)
 
xcb_alloc_color_planes_reply_txcb_alloc_color_planes_reply (xcb_connection_t *c, xcb_alloc_color_planes_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_free_colors_sizeof (const void *_buffer, uint32_t pixels_len)
 
xcb_void_cookie_t xcb_free_colors_checked (xcb_connection_t *c, xcb_colormap_t cmap, uint32_t plane_mask, uint32_t pixels_len, const uint32_t *pixels)
 
xcb_void_cookie_t xcb_free_colors (xcb_connection_t *c, xcb_colormap_t cmap, uint32_t plane_mask, uint32_t pixels_len, const uint32_t *pixels)
 
uint32_t * xcb_free_colors_pixels (const xcb_free_colors_request_t *R)
 
int xcb_free_colors_pixels_length (const xcb_free_colors_request_t *R)
 
xcb_generic_iterator_t xcb_free_colors_pixels_end (const xcb_free_colors_request_t *R)
 
void xcb_coloritem_next (xcb_coloritem_iterator_t *i)
 
xcb_generic_iterator_t xcb_coloritem_end (xcb_coloritem_iterator_t i)
 
int xcb_store_colors_sizeof (const void *_buffer, uint32_t items_len)
 
xcb_void_cookie_t xcb_store_colors_checked (xcb_connection_t *c, xcb_colormap_t cmap, uint32_t items_len, const xcb_coloritem_t *items)
 
xcb_void_cookie_t xcb_store_colors (xcb_connection_t *c, xcb_colormap_t cmap, uint32_t items_len, const xcb_coloritem_t *items)
 
xcb_coloritem_txcb_store_colors_items (const xcb_store_colors_request_t *R)
 
int xcb_store_colors_items_length (const xcb_store_colors_request_t *R)
 
xcb_coloritem_iterator_t xcb_store_colors_items_iterator (const xcb_store_colors_request_t *R)
 
int xcb_store_named_color_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_store_named_color_checked (xcb_connection_t *c, uint8_t flags, xcb_colormap_t cmap, uint32_t pixel, uint16_t name_len, const char *name)
 
xcb_void_cookie_t xcb_store_named_color (xcb_connection_t *c, uint8_t flags, xcb_colormap_t cmap, uint32_t pixel, uint16_t name_len, const char *name)
 
char * xcb_store_named_color_name (const xcb_store_named_color_request_t *R)
 
int xcb_store_named_color_name_length (const xcb_store_named_color_request_t *R)
 
xcb_generic_iterator_t xcb_store_named_color_name_end (const xcb_store_named_color_request_t *R)
 
void xcb_rgb_next (xcb_rgb_iterator_t *i)
 
xcb_generic_iterator_t xcb_rgb_end (xcb_rgb_iterator_t i)
 
int xcb_query_colors_sizeof (const void *_buffer, uint32_t pixels_len)
 
xcb_query_colors_cookie_t xcb_query_colors (xcb_connection_t *c, xcb_colormap_t cmap, uint32_t pixels_len, const uint32_t *pixels)
 
xcb_query_colors_cookie_t xcb_query_colors_unchecked (xcb_connection_t *c, xcb_colormap_t cmap, uint32_t pixels_len, const uint32_t *pixels)
 
xcb_rgb_txcb_query_colors_colors (const xcb_query_colors_reply_t *R)
 
int xcb_query_colors_colors_length (const xcb_query_colors_reply_t *R)
 
xcb_rgb_iterator_t xcb_query_colors_colors_iterator (const xcb_query_colors_reply_t *R)
 
xcb_query_colors_reply_txcb_query_colors_reply (xcb_connection_t *c, xcb_query_colors_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_lookup_color_sizeof (const void *_buffer)
 
xcb_lookup_color_cookie_t xcb_lookup_color (xcb_connection_t *c, xcb_colormap_t cmap, uint16_t name_len, const char *name)
 
xcb_lookup_color_cookie_t xcb_lookup_color_unchecked (xcb_connection_t *c, xcb_colormap_t cmap, uint16_t name_len, const char *name)
 
xcb_lookup_color_reply_txcb_lookup_color_reply (xcb_connection_t *c, xcb_lookup_color_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_void_cookie_t xcb_create_cursor_checked (xcb_connection_t *c, xcb_cursor_t cid, xcb_pixmap_t source, xcb_pixmap_t mask, uint16_t fore_red, uint16_t fore_green, uint16_t fore_blue, uint16_t back_red, uint16_t back_green, uint16_t back_blue, uint16_t x, uint16_t y)
 
xcb_void_cookie_t xcb_create_cursor (xcb_connection_t *c, xcb_cursor_t cid, xcb_pixmap_t source, xcb_pixmap_t mask, uint16_t fore_red, uint16_t fore_green, uint16_t fore_blue, uint16_t back_red, uint16_t back_green, uint16_t back_blue, uint16_t x, uint16_t y)
 
xcb_void_cookie_t xcb_create_glyph_cursor_checked (xcb_connection_t *c, xcb_cursor_t cid, xcb_font_t source_font, xcb_font_t mask_font, uint16_t source_char, uint16_t mask_char, uint16_t fore_red, uint16_t fore_green, uint16_t fore_blue, uint16_t back_red, uint16_t back_green, uint16_t back_blue)
 create cursor More...
 
xcb_void_cookie_t xcb_create_glyph_cursor (xcb_connection_t *c, xcb_cursor_t cid, xcb_font_t source_font, xcb_font_t mask_font, uint16_t source_char, uint16_t mask_char, uint16_t fore_red, uint16_t fore_green, uint16_t fore_blue, uint16_t back_red, uint16_t back_green, uint16_t back_blue)
 create cursor More...
 
xcb_void_cookie_t xcb_free_cursor_checked (xcb_connection_t *c, xcb_cursor_t cursor)
 Deletes a cursor. More...
 
xcb_void_cookie_t xcb_free_cursor (xcb_connection_t *c, xcb_cursor_t cursor)
 Deletes a cursor. More...
 
xcb_void_cookie_t xcb_recolor_cursor_checked (xcb_connection_t *c, xcb_cursor_t cursor, uint16_t fore_red, uint16_t fore_green, uint16_t fore_blue, uint16_t back_red, uint16_t back_green, uint16_t back_blue)
 
xcb_void_cookie_t xcb_recolor_cursor (xcb_connection_t *c, xcb_cursor_t cursor, uint16_t fore_red, uint16_t fore_green, uint16_t fore_blue, uint16_t back_red, uint16_t back_green, uint16_t back_blue)
 
xcb_query_best_size_cookie_t xcb_query_best_size (xcb_connection_t *c, uint8_t _class, xcb_drawable_t drawable, uint16_t width, uint16_t height)
 
xcb_query_best_size_cookie_t xcb_query_best_size_unchecked (xcb_connection_t *c, uint8_t _class, xcb_drawable_t drawable, uint16_t width, uint16_t height)
 
xcb_query_best_size_reply_txcb_query_best_size_reply (xcb_connection_t *c, xcb_query_best_size_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_query_extension_sizeof (const void *_buffer)
 
xcb_query_extension_cookie_t xcb_query_extension (xcb_connection_t *c, uint16_t name_len, const char *name)
 check if extension is present More...
 
xcb_query_extension_cookie_t xcb_query_extension_unchecked (xcb_connection_t *c, uint16_t name_len, const char *name)
 check if extension is present More...
 
xcb_query_extension_reply_txcb_query_extension_reply (xcb_connection_t *c, xcb_query_extension_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_list_extensions_sizeof (const void *_buffer)
 
xcb_list_extensions_cookie_t xcb_list_extensions (xcb_connection_t *c)
 
xcb_list_extensions_cookie_t xcb_list_extensions_unchecked (xcb_connection_t *c)
 
int xcb_list_extensions_names_length (const xcb_list_extensions_reply_t *R)
 
xcb_str_iterator_t xcb_list_extensions_names_iterator (const xcb_list_extensions_reply_t *R)
 
xcb_list_extensions_reply_txcb_list_extensions_reply (xcb_connection_t *c, xcb_list_extensions_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_change_keyboard_mapping_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_change_keyboard_mapping_checked (xcb_connection_t *c, uint8_t keycode_count, xcb_keycode_t first_keycode, uint8_t keysyms_per_keycode, const xcb_keysym_t *keysyms)
 
xcb_void_cookie_t xcb_change_keyboard_mapping (xcb_connection_t *c, uint8_t keycode_count, xcb_keycode_t first_keycode, uint8_t keysyms_per_keycode, const xcb_keysym_t *keysyms)
 
xcb_keysym_t * xcb_change_keyboard_mapping_keysyms (const xcb_change_keyboard_mapping_request_t *R)
 
int xcb_change_keyboard_mapping_keysyms_length (const xcb_change_keyboard_mapping_request_t *R)
 
xcb_generic_iterator_t xcb_change_keyboard_mapping_keysyms_end (const xcb_change_keyboard_mapping_request_t *R)
 
int xcb_get_keyboard_mapping_sizeof (const void *_buffer)
 
xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping (xcb_connection_t *c, xcb_keycode_t first_keycode, uint8_t count)
 
xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c, xcb_keycode_t first_keycode, uint8_t count)
 
xcb_keysym_t * xcb_get_keyboard_mapping_keysyms (const xcb_get_keyboard_mapping_reply_t *R)
 
int xcb_get_keyboard_mapping_keysyms_length (const xcb_get_keyboard_mapping_reply_t *R)
 
xcb_generic_iterator_t xcb_get_keyboard_mapping_keysyms_end (const xcb_get_keyboard_mapping_reply_t *R)
 
xcb_get_keyboard_mapping_reply_txcb_get_keyboard_mapping_reply (xcb_connection_t *c, xcb_get_keyboard_mapping_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_change_keyboard_control_value_list_serialize (void **_buffer, uint32_t value_mask, const xcb_change_keyboard_control_value_list_t *_aux)
 
int xcb_change_keyboard_control_value_list_unpack (const void *_buffer, uint32_t value_mask, xcb_change_keyboard_control_value_list_t *_aux)
 
int xcb_change_keyboard_control_value_list_sizeof (const void *_buffer, uint32_t value_mask)
 
int xcb_change_keyboard_control_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_change_keyboard_control_checked (xcb_connection_t *c, uint32_t value_mask, const void *value_list)
 
xcb_void_cookie_t xcb_change_keyboard_control (xcb_connection_t *c, uint32_t value_mask, const void *value_list)
 
xcb_void_cookie_t xcb_change_keyboard_control_aux_checked (xcb_connection_t *c, uint32_t value_mask, const xcb_change_keyboard_control_value_list_t *value_list)
 
xcb_void_cookie_t xcb_change_keyboard_control_aux (xcb_connection_t *c, uint32_t value_mask, const xcb_change_keyboard_control_value_list_t *value_list)
 
void * xcb_change_keyboard_control_value_list (const xcb_change_keyboard_control_request_t *R)
 
xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control (xcb_connection_t *c)
 
xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control_unchecked (xcb_connection_t *c)
 
xcb_get_keyboard_control_reply_txcb_get_keyboard_control_reply (xcb_connection_t *c, xcb_get_keyboard_control_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_void_cookie_t xcb_bell_checked (xcb_connection_t *c, int8_t percent)
 
xcb_void_cookie_t xcb_bell (xcb_connection_t *c, int8_t percent)
 
xcb_void_cookie_t xcb_change_pointer_control_checked (xcb_connection_t *c, int16_t acceleration_numerator, int16_t acceleration_denominator, int16_t threshold, uint8_t do_acceleration, uint8_t do_threshold)
 
xcb_void_cookie_t xcb_change_pointer_control (xcb_connection_t *c, int16_t acceleration_numerator, int16_t acceleration_denominator, int16_t threshold, uint8_t do_acceleration, uint8_t do_threshold)
 
xcb_get_pointer_control_cookie_t xcb_get_pointer_control (xcb_connection_t *c)
 
xcb_get_pointer_control_cookie_t xcb_get_pointer_control_unchecked (xcb_connection_t *c)
 
xcb_get_pointer_control_reply_txcb_get_pointer_control_reply (xcb_connection_t *c, xcb_get_pointer_control_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_void_cookie_t xcb_set_screen_saver_checked (xcb_connection_t *c, int16_t timeout, int16_t interval, uint8_t prefer_blanking, uint8_t allow_exposures)
 
xcb_void_cookie_t xcb_set_screen_saver (xcb_connection_t *c, int16_t timeout, int16_t interval, uint8_t prefer_blanking, uint8_t allow_exposures)
 
xcb_get_screen_saver_cookie_t xcb_get_screen_saver (xcb_connection_t *c)
 
xcb_get_screen_saver_cookie_t xcb_get_screen_saver_unchecked (xcb_connection_t *c)
 
xcb_get_screen_saver_reply_txcb_get_screen_saver_reply (xcb_connection_t *c, xcb_get_screen_saver_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_change_hosts_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_change_hosts_checked (xcb_connection_t *c, uint8_t mode, uint8_t family, uint16_t address_len, const uint8_t *address)
 
xcb_void_cookie_t xcb_change_hosts (xcb_connection_t *c, uint8_t mode, uint8_t family, uint16_t address_len, const uint8_t *address)
 
uint8_t * xcb_change_hosts_address (const xcb_change_hosts_request_t *R)
 
int xcb_change_hosts_address_length (const xcb_change_hosts_request_t *R)
 
xcb_generic_iterator_t xcb_change_hosts_address_end (const xcb_change_hosts_request_t *R)
 
int xcb_host_sizeof (const void *_buffer)
 
uint8_t * xcb_host_address (const xcb_host_t *R)
 
int xcb_host_address_length (const xcb_host_t *R)
 
xcb_generic_iterator_t xcb_host_address_end (const xcb_host_t *R)
 
void xcb_host_next (xcb_host_iterator_t *i)
 
xcb_generic_iterator_t xcb_host_end (xcb_host_iterator_t i)
 
int xcb_list_hosts_sizeof (const void *_buffer)
 
xcb_list_hosts_cookie_t xcb_list_hosts (xcb_connection_t *c)
 
xcb_list_hosts_cookie_t xcb_list_hosts_unchecked (xcb_connection_t *c)
 
int xcb_list_hosts_hosts_length (const xcb_list_hosts_reply_t *R)
 
xcb_host_iterator_t xcb_list_hosts_hosts_iterator (const xcb_list_hosts_reply_t *R)
 
xcb_list_hosts_reply_txcb_list_hosts_reply (xcb_connection_t *c, xcb_list_hosts_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_void_cookie_t xcb_set_access_control_checked (xcb_connection_t *c, uint8_t mode)
 
xcb_void_cookie_t xcb_set_access_control (xcb_connection_t *c, uint8_t mode)
 
xcb_void_cookie_t xcb_set_close_down_mode_checked (xcb_connection_t *c, uint8_t mode)
 
xcb_void_cookie_t xcb_set_close_down_mode (xcb_connection_t *c, uint8_t mode)
 
xcb_void_cookie_t xcb_kill_client_checked (xcb_connection_t *c, uint32_t resource)
 kills a client More...
 
xcb_void_cookie_t xcb_kill_client (xcb_connection_t *c, uint32_t resource)
 kills a client More...
 
int xcb_rotate_properties_sizeof (const void *_buffer)
 
xcb_void_cookie_t xcb_rotate_properties_checked (xcb_connection_t *c, xcb_window_t window, uint16_t atoms_len, int16_t delta, const xcb_atom_t *atoms)
 
xcb_void_cookie_t xcb_rotate_properties (xcb_connection_t *c, xcb_window_t window, uint16_t atoms_len, int16_t delta, const xcb_atom_t *atoms)
 
xcb_atom_t * xcb_rotate_properties_atoms (const xcb_rotate_properties_request_t *R)
 
int xcb_rotate_properties_atoms_length (const xcb_rotate_properties_request_t *R)
 
xcb_generic_iterator_t xcb_rotate_properties_atoms_end (const xcb_rotate_properties_request_t *R)
 
xcb_void_cookie_t xcb_force_screen_saver_checked (xcb_connection_t *c, uint8_t mode)
 
xcb_void_cookie_t xcb_force_screen_saver (xcb_connection_t *c, uint8_t mode)
 
int xcb_set_pointer_mapping_sizeof (const void *_buffer)
 
xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping (xcb_connection_t *c, uint8_t map_len, const uint8_t *map)
 
xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping_unchecked (xcb_connection_t *c, uint8_t map_len, const uint8_t *map)
 
xcb_set_pointer_mapping_reply_txcb_set_pointer_mapping_reply (xcb_connection_t *c, xcb_set_pointer_mapping_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_get_pointer_mapping_sizeof (const void *_buffer)
 
xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping (xcb_connection_t *c)
 
xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping_unchecked (xcb_connection_t *c)
 
uint8_t * xcb_get_pointer_mapping_map (const xcb_get_pointer_mapping_reply_t *R)
 
int xcb_get_pointer_mapping_map_length (const xcb_get_pointer_mapping_reply_t *R)
 
xcb_generic_iterator_t xcb_get_pointer_mapping_map_end (const xcb_get_pointer_mapping_reply_t *R)
 
xcb_get_pointer_mapping_reply_txcb_get_pointer_mapping_reply (xcb_connection_t *c, xcb_get_pointer_mapping_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_set_modifier_mapping_sizeof (const void *_buffer)
 
xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping (xcb_connection_t *c, uint8_t keycodes_per_modifier, const xcb_keycode_t *keycodes)
 
xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping_unchecked (xcb_connection_t *c, uint8_t keycodes_per_modifier, const xcb_keycode_t *keycodes)
 
xcb_set_modifier_mapping_reply_txcb_set_modifier_mapping_reply (xcb_connection_t *c, xcb_set_modifier_mapping_cookie_t cookie, xcb_generic_error_t **e)
 
int xcb_get_modifier_mapping_sizeof (const void *_buffer)
 
xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping (xcb_connection_t *c)
 
xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping_unchecked (xcb_connection_t *c)
 
xcb_keycode_t * xcb_get_modifier_mapping_keycodes (const xcb_get_modifier_mapping_reply_t *R)
 
int xcb_get_modifier_mapping_keycodes_length (const xcb_get_modifier_mapping_reply_t *R)
 
xcb_generic_iterator_t xcb_get_modifier_mapping_keycodes_end (const xcb_get_modifier_mapping_reply_t *R)
 
xcb_get_modifier_mapping_reply_txcb_get_modifier_mapping_reply (xcb_connection_t *c, xcb_get_modifier_mapping_cookie_t cookie, xcb_generic_error_t **e)
 
xcb_void_cookie_t xcb_no_operation_checked (xcb_connection_t *c)
 
xcb_void_cookie_t xcb_no_operation (xcb_connection_t *c)
 

Detailed Description

XCB Protocol Implementation.

Macro Definition Documentation

#define XCB_ACCESS   10

Opcode for xcb_access.

#define XCB_ALLOC   11

Opcode for xcb_alloc.

#define XCB_ALLOC_COLOR   84

Opcode for xcb_alloc_color.

Referenced by xcb_alloc_color(), and xcb_alloc_color_unchecked().

#define XCB_ALLOC_COLOR_CELLS   86

Opcode for xcb_alloc_color_cells.

Referenced by xcb_alloc_color_cells(), and xcb_alloc_color_cells_unchecked().

#define XCB_ALLOC_COLOR_PLANES   87

Opcode for xcb_alloc_color_planes.

Referenced by xcb_alloc_color_planes(), and xcb_alloc_color_planes_unchecked().

#define XCB_ALLOC_NAMED_COLOR   85

Opcode for xcb_alloc_named_color.

Referenced by xcb_alloc_named_color(), and xcb_alloc_named_color_unchecked().

#define XCB_ALLOW_EVENTS   35

Opcode for xcb_allow_events.

Referenced by xcb_allow_events(), and xcb_allow_events_checked().

#define XCB_ATOM   5

Opcode for xcb_atom.

#define XCB_BELL   104

Opcode for xcb_bell.

Referenced by xcb_bell(), and xcb_bell_checked().

#define XCB_BUTTON_PRESS   4

Opcode for xcb_button_press.

#define XCB_BUTTON_RELEASE   5

Opcode for xcb_button_release.

#define XCB_CHANGE_ACTIVE_POINTER_GRAB   30

Opcode for xcb_change_active_pointer_grab.

Referenced by xcb_change_active_pointer_grab(), and xcb_change_active_pointer_grab_checked().

#define XCB_CHANGE_GC   56
#define XCB_CHANGE_HOSTS   109

Opcode for xcb_change_hosts.

Referenced by xcb_change_hosts(), and xcb_change_hosts_checked().

#define XCB_CHANGE_KEYBOARD_CONTROL   102
#define XCB_CHANGE_KEYBOARD_MAPPING   100

Opcode for xcb_change_keyboard_mapping.

Referenced by xcb_change_keyboard_mapping(), and xcb_change_keyboard_mapping_checked().

#define XCB_CHANGE_POINTER_CONTROL   105

Opcode for xcb_change_pointer_control.

Referenced by xcb_change_pointer_control(), and xcb_change_pointer_control_checked().

#define XCB_CHANGE_PROPERTY   18

Opcode for xcb_change_property.

Referenced by xcb_change_property(), and xcb_change_property_checked().

#define XCB_CHANGE_SAVE_SET   6

Opcode for xcb_change_save_set.

Referenced by xcb_change_save_set(), and xcb_change_save_set_checked().

#define XCB_CHANGE_WINDOW_ATTRIBUTES   2
#define XCB_CIRCULATE_NOTIFY   26

Opcode for xcb_circulate_notify.

#define XCB_CIRCULATE_REQUEST   27

Opcode for xcb_circulate_request.

#define XCB_CIRCULATE_WINDOW   13

Opcode for xcb_circulate_window.

Referenced by xcb_circulate_window(), and xcb_circulate_window_checked().

#define XCB_CLEAR_AREA   61

Opcode for xcb_clear_area.

Referenced by xcb_clear_area(), and xcb_clear_area_checked().

#define XCB_CLIENT_MESSAGE   33

Opcode for xcb_client_message.

#define XCB_CLOSE_FONT   46

Opcode for xcb_close_font.

Referenced by xcb_close_font(), and xcb_close_font_checked().

#define XCB_COLORMAP   12

Opcode for xcb_colormap.

#define XCB_COLORMAP_NOTIFY   32

Opcode for xcb_colormap_notify.

#define XCB_CONFIGURE_NOTIFY   22

Opcode for xcb_configure_notify.

#define XCB_CONFIGURE_REQUEST   23

Opcode for xcb_configure_request.

#define XCB_CONFIGURE_WINDOW   12
#define XCB_CONVERT_SELECTION   24

Opcode for xcb_convert_selection.

Referenced by xcb_convert_selection(), and xcb_convert_selection_checked().

#define XCB_COPY_AREA   62

Opcode for xcb_copy_area.

Referenced by xcb_copy_area(), and xcb_copy_area_checked().

#define XCB_COPY_COLORMAP_AND_FREE   80

Opcode for xcb_copy_colormap_and_free.

Referenced by xcb_copy_colormap_and_free(), and xcb_copy_colormap_and_free_checked().

#define XCB_COPY_GC   57

Opcode for xcb_copy_gc.

Referenced by xcb_copy_gc(), and xcb_copy_gc_checked().

#define XCB_COPY_PLANE   63

Opcode for xcb_copy_plane.

Referenced by xcb_copy_plane(), and xcb_copy_plane_checked().

#define XCB_CREATE_COLORMAP   78

Opcode for xcb_create_colormap.

Referenced by xcb_create_colormap(), and xcb_create_colormap_checked().

#define XCB_CREATE_CURSOR   93

Opcode for xcb_create_cursor.

Referenced by xcb_create_cursor(), and xcb_create_cursor_checked().

#define XCB_CREATE_GC   55
#define XCB_CREATE_GLYPH_CURSOR   94

Opcode for xcb_create_glyph_cursor.

Referenced by xcb_create_glyph_cursor(), and xcb_create_glyph_cursor_checked().

#define XCB_CREATE_NOTIFY   16

Opcode for xcb_create_notify.

#define XCB_CREATE_PIXMAP   53

Opcode for xcb_create_pixmap.

Referenced by xcb_create_pixmap(), and xcb_create_pixmap_checked().

#define XCB_CREATE_WINDOW   1
#define XCB_CURSOR   6

Opcode for xcb_cursor.

#define XCB_DELETE_PROPERTY   19

Opcode for xcb_delete_property.

Referenced by xcb_delete_property(), and xcb_delete_property_checked().

#define XCB_DESTROY_NOTIFY   17

Opcode for xcb_destroy_notify.

#define XCB_DESTROY_SUBWINDOWS   5

Opcode for xcb_destroy_subwindows.

Referenced by xcb_destroy_subwindows(), and xcb_destroy_subwindows_checked().

#define XCB_DESTROY_WINDOW   4

Opcode for xcb_destroy_window.

Referenced by xcb_destroy_window(), and xcb_destroy_window_checked().

#define XCB_DRAWABLE   9

Opcode for xcb_drawable.

#define XCB_ENTER_NOTIFY   7

Opcode for xcb_enter_notify.

#define XCB_EXPOSE   12

Opcode for xcb_expose.

#define XCB_FILL_POLY   69

Opcode for xcb_fill_poly.

Referenced by xcb_fill_poly(), and xcb_fill_poly_checked().

#define XCB_FOCUS_IN   9

Opcode for xcb_focus_in.

#define XCB_FOCUS_OUT   10

Opcode for xcb_focus_out.

#define XCB_FONT   7

Opcode for xcb_font.

#define XCB_FORCE_SCREEN_SAVER   115

Opcode for xcb_force_screen_saver.

Referenced by xcb_force_screen_saver(), and xcb_force_screen_saver_checked().

#define XCB_FREE_COLORMAP   79

Opcode for xcb_free_colormap.

Referenced by xcb_free_colormap(), and xcb_free_colormap_checked().

#define XCB_FREE_COLORS   88

Opcode for xcb_free_colors.

Referenced by xcb_free_colors(), and xcb_free_colors_checked().

#define XCB_FREE_CURSOR   95

Opcode for xcb_free_cursor.

Referenced by xcb_free_cursor(), and xcb_free_cursor_checked().

#define XCB_FREE_GC   60

Opcode for xcb_free_gc.

Referenced by xcb_free_gc(), and xcb_free_gc_checked().

#define XCB_FREE_PIXMAP   54

Opcode for xcb_free_pixmap.

Referenced by xcb_free_pixmap(), and xcb_free_pixmap_checked().

#define XCB_G_CONTEXT   13

Opcode for xcb_g_context.

#define XCB_GE_GENERIC   35

Opcode for xcb_ge_generic.

#define XCB_GET_ATOM_NAME   17

Opcode for xcb_get_atom_name.

Referenced by xcb_get_atom_name(), and xcb_get_atom_name_unchecked().

#define XCB_GET_FONT_PATH   52

Opcode for xcb_get_font_path.

Referenced by xcb_get_font_path(), and xcb_get_font_path_unchecked().

#define XCB_GET_GEOMETRY   14

Opcode for xcb_get_geometry.

Referenced by xcb_get_geometry(), and xcb_get_geometry_unchecked().

#define XCB_GET_IMAGE   73

Opcode for xcb_get_image.

Referenced by xcb_get_image(), and xcb_get_image_unchecked().

#define XCB_GET_INPUT_FOCUS   43

Opcode for xcb_get_input_focus.

Referenced by xcb_get_input_focus(), and xcb_get_input_focus_unchecked().

#define XCB_GET_KEYBOARD_CONTROL   103

Opcode for xcb_get_keyboard_control.

Referenced by xcb_get_keyboard_control(), and xcb_get_keyboard_control_unchecked().

#define XCB_GET_KEYBOARD_MAPPING   101

Opcode for xcb_get_keyboard_mapping.

Referenced by xcb_get_keyboard_mapping(), and xcb_get_keyboard_mapping_unchecked().

#define XCB_GET_MODIFIER_MAPPING   119

Opcode for xcb_get_modifier_mapping.

Referenced by xcb_get_modifier_mapping(), and xcb_get_modifier_mapping_unchecked().

#define XCB_GET_MOTION_EVENTS   39

Opcode for xcb_get_motion_events.

Referenced by xcb_get_motion_events(), and xcb_get_motion_events_unchecked().

#define XCB_GET_POINTER_CONTROL   106

Opcode for xcb_get_pointer_control.

Referenced by xcb_get_pointer_control(), and xcb_get_pointer_control_unchecked().

#define XCB_GET_POINTER_MAPPING   117

Opcode for xcb_get_pointer_mapping.

Referenced by xcb_get_pointer_mapping(), and xcb_get_pointer_mapping_unchecked().

#define XCB_GET_PROPERTY   20

Opcode for xcb_get_property.

Referenced by xcb_get_property(), and xcb_get_property_unchecked().

#define XCB_GET_SCREEN_SAVER   108

Opcode for xcb_get_screen_saver.

Referenced by xcb_get_screen_saver(), and xcb_get_screen_saver_unchecked().

#define XCB_GET_SELECTION_OWNER   23

Opcode for xcb_get_selection_owner.

Referenced by xcb_get_selection_owner(), and xcb_get_selection_owner_unchecked().

#define XCB_GET_WINDOW_ATTRIBUTES   3

Opcode for xcb_get_window_attributes.

Referenced by xcb_get_window_attributes(), and xcb_get_window_attributes_unchecked().

#define XCB_GRAB_BUTTON   28

Opcode for xcb_grab_button.

Referenced by xcb_grab_button(), and xcb_grab_button_checked().

#define XCB_GRAB_KEY   33

Opcode for xcb_grab_key.

Referenced by xcb_grab_key(), and xcb_grab_key_checked().

#define XCB_GRAB_KEYBOARD   31

Opcode for xcb_grab_keyboard.

Referenced by xcb_grab_keyboard(), and xcb_grab_keyboard_unchecked().

#define XCB_GRAB_POINTER   26

Opcode for xcb_grab_pointer.

Referenced by xcb_grab_pointer(), and xcb_grab_pointer_unchecked().

#define XCB_GRAB_SERVER   36

Opcode for xcb_grab_server.

Referenced by xcb_grab_server(), and xcb_grab_server_checked().

#define XCB_GRAPHICS_EXPOSURE   13

Opcode for xcb_graphics_exposure.

#define XCB_GRAVITY_NOTIFY   24

Opcode for xcb_gravity_notify.

#define XCB_ID_CHOICE   14

Opcode for xcb_id_choice.

#define XCB_IMAGE_TEXT_16   77

Opcode for xcb_image_text_16.

Referenced by xcb_image_text_16(), and xcb_image_text_16_checked().

#define XCB_IMAGE_TEXT_8   76

Opcode for xcb_image_text_8.

Referenced by xcb_image_text_8(), and xcb_image_text_8_checked().

#define XCB_IMPLEMENTATION   17

Opcode for xcb_implementation.

#define XCB_INSTALL_COLORMAP   81

Opcode for xcb_install_colormap.

Referenced by xcb_install_colormap(), and xcb_install_colormap_checked().

#define XCB_INTERN_ATOM   16

Opcode for xcb_intern_atom.

Referenced by xcb_intern_atom(), and xcb_intern_atom_unchecked().

#define XCB_KEY_PRESS   2

Opcode for xcb_key_press.

#define XCB_KEY_RELEASE   3

Opcode for xcb_key_release.

#define XCB_KEYMAP_NOTIFY   11

Opcode for xcb_keymap_notify.

#define XCB_KILL_CLIENT   113

Opcode for xcb_kill_client.

Referenced by xcb_kill_client(), and xcb_kill_client_checked().

#define XCB_LEAVE_NOTIFY   8

Opcode for xcb_leave_notify.

#define XCB_LENGTH   16

Opcode for xcb_length.

#define XCB_LIST_EXTENSIONS   99

Opcode for xcb_list_extensions.

Referenced by xcb_list_extensions(), and xcb_list_extensions_unchecked().

#define XCB_LIST_FONTS   49

Opcode for xcb_list_fonts.

Referenced by xcb_list_fonts(), and xcb_list_fonts_unchecked().

#define XCB_LIST_FONTS_WITH_INFO   50

Opcode for xcb_list_fonts_with_info.

Referenced by xcb_list_fonts_with_info(), and xcb_list_fonts_with_info_unchecked().

#define XCB_LIST_HOSTS   110

Opcode for xcb_list_hosts.

Referenced by xcb_list_hosts(), and xcb_list_hosts_unchecked().

#define XCB_LIST_INSTALLED_COLORMAPS   83

Opcode for xcb_list_installed_colormaps.

Referenced by xcb_list_installed_colormaps(), and xcb_list_installed_colormaps_unchecked().

#define XCB_LIST_PROPERTIES   21

Opcode for xcb_list_properties.

Referenced by xcb_list_properties(), and xcb_list_properties_unchecked().

#define XCB_LOOKUP_COLOR   92

Opcode for xcb_lookup_color.

Referenced by xcb_lookup_color(), and xcb_lookup_color_unchecked().

#define XCB_MAP_NOTIFY   19

Opcode for xcb_map_notify.

#define XCB_MAP_REQUEST   20

Opcode for xcb_map_request.

#define XCB_MAP_SUBWINDOWS   9

Opcode for xcb_map_subwindows.

Referenced by xcb_map_subwindows(), and xcb_map_subwindows_checked().

#define XCB_MAP_WINDOW   8

Opcode for xcb_map_window.

Referenced by xcb_map_window(), and xcb_map_window_checked().

#define XCB_MAPPING_NOTIFY   34

Opcode for xcb_mapping_notify.

#define XCB_MATCH   8

Opcode for xcb_match.

#define XCB_MOTION_NOTIFY   6

Opcode for xcb_motion_notify.

#define XCB_NAME   15

Opcode for xcb_name.

#define XCB_NO_EXPOSURE   14

Opcode for xcb_no_exposure.

#define XCB_NO_OPERATION   127

Opcode for xcb_no_operation.

Referenced by xcb_no_operation(), and xcb_no_operation_checked().

#define XCB_OPEN_FONT   45

Opcode for xcb_open_font.

Referenced by xcb_open_font(), and xcb_open_font_checked().

#define XCB_PIXMAP   4

Opcode for xcb_pixmap.

#define XCB_POLY_ARC   68

Opcode for xcb_poly_arc.

Referenced by xcb_poly_arc(), and xcb_poly_arc_checked().

#define XCB_POLY_FILL_ARC   71

Opcode for xcb_poly_fill_arc.

Referenced by xcb_poly_fill_arc(), and xcb_poly_fill_arc_checked().

#define XCB_POLY_FILL_RECTANGLE   70

Opcode for xcb_poly_fill_rectangle.

Referenced by xcb_poly_fill_rectangle(), and xcb_poly_fill_rectangle_checked().

#define XCB_POLY_LINE   65

Opcode for xcb_poly_line.

Referenced by xcb_poly_line(), and xcb_poly_line_checked().

#define XCB_POLY_POINT   64

Opcode for xcb_poly_point.

Referenced by xcb_poly_point(), and xcb_poly_point_checked().

#define XCB_POLY_RECTANGLE   67

Opcode for xcb_poly_rectangle.

Referenced by xcb_poly_rectangle(), and xcb_poly_rectangle_checked().

#define XCB_POLY_SEGMENT   66

Opcode for xcb_poly_segment.

Referenced by xcb_poly_segment(), and xcb_poly_segment_checked().

#define XCB_POLY_TEXT_16   75

Opcode for xcb_poly_text_16.

Referenced by xcb_poly_text_16(), and xcb_poly_text_16_checked().

#define XCB_POLY_TEXT_8   74

Opcode for xcb_poly_text_8.

Referenced by xcb_poly_text_8(), and xcb_poly_text_8_checked().

#define XCB_PROPERTY_NOTIFY   28

Opcode for xcb_property_notify.

#define XCB_PUT_IMAGE   72

Opcode for xcb_put_image.

Referenced by xcb_put_image(), and xcb_put_image_checked().

#define XCB_QUERY_BEST_SIZE   97

Opcode for xcb_query_best_size.

Referenced by xcb_query_best_size(), and xcb_query_best_size_unchecked().

#define XCB_QUERY_COLORS   91

Opcode for xcb_query_colors.

Referenced by xcb_query_colors(), and xcb_query_colors_unchecked().

#define XCB_QUERY_EXTENSION   98

Opcode for xcb_query_extension.

Referenced by xcb_query_extension(), and xcb_query_extension_unchecked().

#define XCB_QUERY_FONT   47

Opcode for xcb_query_font.

Referenced by xcb_query_font(), and xcb_query_font_unchecked().

#define XCB_QUERY_KEYMAP   44

Opcode for xcb_query_keymap.

Referenced by xcb_query_keymap(), and xcb_query_keymap_unchecked().

#define XCB_QUERY_POINTER   38

Opcode for xcb_query_pointer.

Referenced by xcb_query_pointer(), and xcb_query_pointer_unchecked().

#define XCB_QUERY_TEXT_EXTENTS   48

Opcode for xcb_query_text_extents.

Referenced by xcb_query_text_extents(), and xcb_query_text_extents_unchecked().

#define XCB_QUERY_TREE   15

Opcode for xcb_query_tree.

Referenced by xcb_query_tree(), and xcb_query_tree_unchecked().

#define XCB_RECOLOR_CURSOR   96

Opcode for xcb_recolor_cursor.

Referenced by xcb_recolor_cursor(), and xcb_recolor_cursor_checked().

#define XCB_REPARENT_NOTIFY   21

Opcode for xcb_reparent_notify.

#define XCB_REPARENT_WINDOW   7

Opcode for xcb_reparent_window.

Referenced by xcb_reparent_window(), and xcb_reparent_window_checked().

#define XCB_REQUEST   1

Opcode for xcb_request.

#define XCB_RESIZE_REQUEST   25

Opcode for xcb_resize_request.

#define XCB_ROTATE_PROPERTIES   114

Opcode for xcb_rotate_properties.

Referenced by xcb_rotate_properties(), and xcb_rotate_properties_checked().

#define XCB_SELECTION_CLEAR   29

Opcode for xcb_selection_clear.

#define XCB_SELECTION_NOTIFY   31

Opcode for xcb_selection_notify.

#define XCB_SELECTION_REQUEST   30

Opcode for xcb_selection_request.

#define XCB_SEND_EVENT   25

Opcode for xcb_send_event.

Referenced by xcb_send_event(), and xcb_send_event_checked().

#define XCB_SET_ACCESS_CONTROL   111

Opcode for xcb_set_access_control.

Referenced by xcb_set_access_control(), and xcb_set_access_control_checked().

#define XCB_SET_CLIP_RECTANGLES   59

Opcode for xcb_set_clip_rectangles.

Referenced by xcb_set_clip_rectangles(), and xcb_set_clip_rectangles_checked().

#define XCB_SET_CLOSE_DOWN_MODE   112

Opcode for xcb_set_close_down_mode.

Referenced by xcb_set_close_down_mode(), and xcb_set_close_down_mode_checked().

#define XCB_SET_DASHES   58

Opcode for xcb_set_dashes.

Referenced by xcb_set_dashes(), and xcb_set_dashes_checked().

#define XCB_SET_FONT_PATH   51

Opcode for xcb_set_font_path.

Referenced by xcb_set_font_path(), and xcb_set_font_path_checked().

#define XCB_SET_INPUT_FOCUS   42

Opcode for xcb_set_input_focus.

Referenced by xcb_set_input_focus(), and xcb_set_input_focus_checked().

#define XCB_SET_MODIFIER_MAPPING   118

Opcode for xcb_set_modifier_mapping.

Referenced by xcb_set_modifier_mapping(), and xcb_set_modifier_mapping_unchecked().

#define XCB_SET_POINTER_MAPPING   116

Opcode for xcb_set_pointer_mapping.

Referenced by xcb_set_pointer_mapping(), and xcb_set_pointer_mapping_unchecked().

#define XCB_SET_SCREEN_SAVER   107

Opcode for xcb_set_screen_saver.

Referenced by xcb_set_screen_saver(), and xcb_set_screen_saver_checked().

#define XCB_SET_SELECTION_OWNER   22

Opcode for xcb_set_selection_owner.

Referenced by xcb_set_selection_owner(), and xcb_set_selection_owner_checked().

#define XCB_STORE_COLORS   89

Opcode for xcb_store_colors.

Referenced by xcb_store_colors(), and xcb_store_colors_checked().

#define XCB_STORE_NAMED_COLOR   90

Opcode for xcb_store_named_color.

Referenced by xcb_store_named_color(), and xcb_store_named_color_checked().

#define XCB_TRANSLATE_COORDINATES   40

Opcode for xcb_translate_coordinates.

Referenced by xcb_translate_coordinates(), and xcb_translate_coordinates_unchecked().

#define XCB_UNGRAB_BUTTON   29

Opcode for xcb_ungrab_button.

Referenced by xcb_ungrab_button(), and xcb_ungrab_button_checked().

#define XCB_UNGRAB_KEY   34

Opcode for xcb_ungrab_key.

Referenced by xcb_ungrab_key(), and xcb_ungrab_key_checked().

#define XCB_UNGRAB_KEYBOARD   32

Opcode for xcb_ungrab_keyboard.

Referenced by xcb_ungrab_keyboard(), and xcb_ungrab_keyboard_checked().

#define XCB_UNGRAB_POINTER   27

Opcode for xcb_ungrab_pointer.

Referenced by xcb_ungrab_pointer(), and xcb_ungrab_pointer_checked().

#define XCB_UNGRAB_SERVER   37

Opcode for xcb_ungrab_server.

Referenced by xcb_ungrab_server(), and xcb_ungrab_server_checked().

#define XCB_UNINSTALL_COLORMAP   82

Opcode for xcb_uninstall_colormap.

Referenced by xcb_uninstall_colormap(), and xcb_uninstall_colormap_checked().

#define XCB_UNMAP_NOTIFY   18

Opcode for xcb_unmap_notify.

#define XCB_UNMAP_SUBWINDOWS   11

Opcode for xcb_unmap_subwindows.

Referenced by xcb_unmap_subwindows(), and xcb_unmap_subwindows_checked().

#define XCB_UNMAP_WINDOW   10

Opcode for xcb_unmap_window.

Referenced by xcb_unmap_window(), and xcb_unmap_window_checked().

#define XCB_VALUE   2

Opcode for xcb_value.

#define XCB_VISIBILITY_NOTIFY   15

Opcode for xcb_visibility_notify.

#define XCB_WARP_POINTER   41

Opcode for xcb_warp_pointer.

Referenced by xcb_warp_pointer(), and xcb_warp_pointer_checked().

#define XCB_WINDOW   3

Opcode for xcb_window.

Enumeration Type Documentation

Enumerator
XCB_ALLOW_ASYNC_POINTER 

For AsyncPointer, if the pointer is frozen by the client, pointer event processing continues normally. If the pointer is frozen twice by the client on behalf of two separate grabs, AsyncPointer thaws for both. AsyncPointer has no effect if the pointer is not frozen by the client, but the pointer need not be grabbed by the client.

TODO: rewrite this in more understandable terms.

XCB_ALLOW_SYNC_POINTER 

For SyncPointer, if the pointer is frozen and actively grabbed by the client, pointer event processing continues normally until the next ButtonPress or ButtonRelease event is reported to the client, at which time the pointer again appears to freeze. However, if the reported event causes the pointer grab to be released, then the pointer does not freeze. SyncPointer has no effect if the pointer is not frozen by the client or if the pointer is not grabbed by the client.

XCB_ALLOW_REPLAY_POINTER 

For ReplayPointer, if the pointer is actively grabbed by the client and is frozen as the result of an event having been sent to the client (either from the activation of a GrabButton or from a previous AllowEvents with mode SyncPointer but not from a GrabPointer), then the pointer grab is released and that event is completely reprocessed, this time ignoring any passive grabs at or above (towards the root) the grab-window of the grab just released. The request has no effect if the pointer is not grabbed by the client or if the pointer is not frozen as the result of an event.

XCB_ALLOW_ASYNC_KEYBOARD 

For AsyncKeyboard, if the keyboard is frozen by the client, keyboard event processing continues normally. If the keyboard is frozen twice by the client on behalf of two separate grabs, AsyncKeyboard thaws for both. AsyncKeyboard has no effect if the keyboard is not frozen by the client, but the keyboard need not be grabbed by the client.

XCB_ALLOW_SYNC_KEYBOARD 

For SyncKeyboard, if the keyboard is frozen and actively grabbed by the client, keyboard event processing continues normally until the next KeyPress or KeyRelease event is reported to the client, at which time the keyboard again appears to freeze. However, if the reported event causes the keyboard grab to be released, then the keyboard does not freeze. SyncKeyboard has no effect if the keyboard is not frozen by the client or if the keyboard is not grabbed by the client.

XCB_ALLOW_REPLAY_KEYBOARD 

For ReplayKeyboard, if the keyboard is actively grabbed by the client and is frozen as the result of an event having been sent to the client (either from the activation of a GrabKey or from a previous AllowEvents with mode SyncKeyboard but not from a GrabKeyboard), then the keyboard grab is released and that event is completely reprocessed, this time ignoring any passive grabs at or above (towards the root) the grab-window of the grab just released. The request has no effect if the keyboard is not grabbed by the client or if the keyboard is not frozen as the result of an event.

XCB_ALLOW_ASYNC_BOTH 

For AsyncBoth, if the pointer and the keyboard are frozen by the client, event processing for both devices continues normally. If a device is frozen twice by the client on behalf of two separate grabs, AsyncBoth thaws for both. AsyncBoth has no effect unless both pointer and keyboard are frozen by the client.

XCB_ALLOW_SYNC_BOTH 

For SyncBoth, if both pointer and keyboard are frozen by the client, event processing (for both devices) continues normally until the next ButtonPress, ButtonRelease, KeyPress, or KeyRelease event is reported to the client for a grabbed device (button event for the pointer, key event for the keyboard), at which time the devices again appear to freeze. However, if the reported event causes the grab to be released, then the devices do not freeze (but if the other device is still grabbed, then a subsequent event for it will still cause both devices to freeze). SyncBoth has no effect unless both pointer and keyboard are frozen by the client. If the pointer or keyboard is frozen twice by the client on behalf of two separate grabs, SyncBoth thaws for both (but a subsequent freeze for SyncBoth will only freeze each device once).

Enumerator
XCB_BUTTON_INDEX_ANY 

Any of the following (or none):

XCB_BUTTON_INDEX_1 

The left mouse button.

XCB_BUTTON_INDEX_2 

The right mouse button.

XCB_BUTTON_INDEX_3 

The middle mouse button.

XCB_BUTTON_INDEX_4 

Scroll wheel. TODO: direction?

XCB_BUTTON_INDEX_5 

Scroll wheel. TODO: direction?

Enumerator
XCB_COLORMAP_STATE_UNINSTALLED 

The colormap was uninstalled.

XCB_COLORMAP_STATE_INSTALLED 

The colormap was installed.

Enumerator
XCB_COORD_MODE_ORIGIN 

Treats all coordinates as relative to the origin.

XCB_COORD_MODE_PREVIOUS 

Treats all coordinates after the first as relative to the previous coordinate.

enum xcb_cw_t
Enumerator
XCB_CW_BACK_PIXMAP 

Overrides the default background-pixmap. The background pixmap and window must have the same root and same depth. Any size pixmap can be used, although some sizes may be faster than others.

If XCB_BACK_PIXMAP_NONE is specified, the window has no defined background. The server may fill the contents with the previous screen contents or with contents of its own choosing.

If XCB_BACK_PIXMAP_PARENT_RELATIVE is specified, the parent's background is used, but the window must have the same depth as the parent (or a Match error results). The parent's background is tracked, and the current version is used each time the window background is required.

XCB_CW_BACK_PIXEL 

Overrides BackPixmap. A pixmap of undefined size filled with the specified background pixel is used for the background. Range-checking is not performed, the background pixel is truncated to the appropriate number of bits.

XCB_CW_BORDER_PIXMAP 

Overrides the default border-pixmap. The border pixmap and window must have the same root and the same depth. Any size pixmap can be used, although some sizes may be faster than others.

The special value XCB_COPY_FROM_PARENT means the parent's border pixmap is copied (subsequent changes to the parent's border attribute do not affect the child), but the window must have the same depth as the parent.

XCB_CW_BORDER_PIXEL 

Overrides BorderPixmap. A pixmap of undefined size filled with the specified border pixel is used for the border. Range checking is not performed on the border-pixel value, it is truncated to the appropriate number of bits.

XCB_CW_BIT_GRAVITY 

Defines which region of the window should be retained if the window is resized.

XCB_CW_WIN_GRAVITY 

Defines how the window should be repositioned if the parent is resized (see ConfigureWindow).

XCB_CW_BACKING_STORE 

A backing-store of WhenMapped advises the server that maintaining contents of obscured regions when the window is mapped would be beneficial. A backing-store of Always advises the server that maintaining contents even when the window is unmapped would be beneficial. In this case, the server may generate an exposure event when the window is created. A value of NotUseful advises the server that maintaining contents is unnecessary, although a server may still choose to maintain contents while the window is mapped. Note that if the server maintains contents, then the server should maintain complete contents not just the region within the parent boundaries, even if the window is larger than its parent. While the server maintains contents, exposure events will not normally be generated, but the server may stop maintaining contents at any time.

XCB_CW_BACKING_PLANES 

The backing-planes indicates (with bits set to 1) which bit planes of the window hold dynamic data that must be preserved in backing-stores and during save-unders.

XCB_CW_BACKING_PIXEL 

The backing-pixel specifies what value to use in planes not covered by backing-planes. The server is free to save only the specified bit planes in the backing-store or save-under and regenerate the remaining planes with the specified pixel value. Any bits beyond the specified depth of the window in these values are simply ignored.

XCB_CW_OVERRIDE_REDIRECT 

The override-redirect specifies whether map and configure requests on this window should override a SubstructureRedirect on the parent, typically to inform a window manager not to tamper with the window.

XCB_CW_SAVE_UNDER 

If 1, the server is advised that when this window is mapped, saving the contents of windows it obscures would be beneficial.

XCB_CW_EVENT_MASK 

The event-mask defines which events the client is interested in for this window (or for some event types, inferiors of the window).

XCB_CW_DONT_PROPAGATE 

The do-not-propagate-mask defines which events should not be propagated to ancestor windows when no client has the event type selected in this window.

XCB_CW_COLORMAP 

The colormap specifies the colormap that best reflects the true colors of the window. Servers capable of supporting multiple hardware colormaps may use this information, and window man- agers may use it for InstallColormap requests. The colormap must have the same visual type and root as the window (or a Match error results). If CopyFromParent is specified, the parent's colormap is copied (subsequent changes to the parent's colormap attribute do not affect the child). However, the window must have the same visual type as the parent (or a Match error results), and the parent must not have a colormap of None (or a Match error results). For an explanation of None, see FreeColormap request. The colormap is copied by sharing the colormap object between the child and the parent, not by making a complete copy of the colormap contents.

XCB_CW_CURSOR 

If a cursor is specified, it will be used whenever the pointer is in the window. If None is speci- fied, the parent's cursor will be used when the pointer is in the window, and any change in the parent's cursor will cause an immediate change in the displayed cursor.

enum xcb_gc_t
Enumerator
XCB_GC_FUNCTION 

TODO: Refer to GX

XCB_GC_PLANE_MASK 

In graphics operations, given a source and destination pixel, the result is computed bitwise on corresponding bits of the pixels; that is, a Boolean operation is performed in each bit plane. The plane-mask restricts the operation to a subset of planes, so the result is:

    ((src FUNC dst) AND plane-mask) OR (dst AND (NOT plane-mask))  
XCB_GC_FOREGROUND 

Foreground colorpixel.

XCB_GC_BACKGROUND 

Background colorpixel.

XCB_GC_LINE_WIDTH 

The line-width is measured in pixels and can be greater than or equal to one, a wide line, or the special value zero, a thin line.

XCB_GC_LINE_STYLE 

The line-style defines which sections of a line are drawn: Solid The full path of the line is drawn. DoubleDash The full path of the line is drawn, but the even dashes are filled differently than the odd dashes (see fill-style), with Butt cap-style used where even and odd dashes meet. OnOffDash Only the even dashes are drawn, and cap-style applies to all internal ends of the individual dashes (except NotLast is treated as Butt).

XCB_GC_CAP_STYLE 

The cap-style defines how the endpoints of a path are drawn: NotLast The result is equivalent to Butt, except that for a line-width of zero the final endpoint is not drawn. Butt The result is square at the endpoint (perpendicular to the slope of the line) with no projection beyond. Round The result is a circular arc with its diameter equal to the line-width, centered on the endpoint; it is equivalent to Butt for line-width zero. Projecting The result is square at the end, but the path continues beyond the endpoint for a distance equal to half the line-width; it is equivalent to Butt for line-width zero.

XCB_GC_JOIN_STYLE 

The join-style defines how corners are drawn for wide lines: Miter The outer edges of the two lines extend to meet at an angle. However, if the angle is less than 11 degrees, a Bevel join-style is used instead. Round The result is a circular arc with a diameter equal to the line-width, centered on the joinpoint. Bevel The result is Butt endpoint styles, and then the triangular notch is filled.

XCB_GC_FILL_STYLE 

The fill-style defines the contents of the source for line, text, and fill requests. For all text and fill requests (for example, PolyText8, PolyText16, PolyFillRectangle, FillPoly, and PolyFillArc) as well as for line requests with line-style Solid, (for example, PolyLine, PolySegment, PolyRectangle, PolyArc) and for the even dashes for line requests with line-style OnOffDash or DoubleDash: Solid Foreground Tiled Tile OpaqueStippled A tile with the same width and height as stipple but with background everywhere stipple has a zero and with foreground everywhere stipple has a one Stippled Foreground masked by stipple For the odd dashes for line requests with line-style DoubleDash: Solid Background Tiled Same as for even dashes OpaqueStippled Same as for even dashes Stippled Background masked by stipple

XCB_GC_TILE 

The tile/stipple represents an infinite two-dimensional plane with the tile/stipple replicated in all dimensions. When that plane is superimposed on the drawable for use in a graphics operation, the upper-left corner of some instance of the tile/stipple is at the coordinates within the drawable specified by the tile/stipple origin. The tile/stipple and clip origins are interpreted relative to the origin of whatever destination drawable is specified in a graphics request. The tile pixmap must have the same root and depth as the gcontext (or a Match error results). The stipple pixmap must have depth one and must have the same root as the gcontext (or a Match error results). For fill-style Stippled (but not fill-style OpaqueStippled), the stipple pattern is tiled in a single plane and acts as an additional clip mask to be ANDed with the clip-mask. Any size pixmap can be used for tiling or stippling, although some sizes may be faster to use than others.

XCB_GC_STIPPLE 

The tile/stipple represents an infinite two-dimensional plane with the tile/stipple replicated in all dimensions. When that plane is superimposed on the drawable for use in a graphics operation, the upper-left corner of some instance of the tile/stipple is at the coordinates within the drawable specified by the tile/stipple origin. The tile/stipple and clip origins are interpreted relative to the origin of whatever destination drawable is specified in a graphics request. The tile pixmap must have the same root and depth as the gcontext (or a Match error results). The stipple pixmap must have depth one and must have the same root as the gcontext (or a Match error results). For fill-style Stippled (but not fill-style OpaqueStippled), the stipple pattern is tiled in a single plane and acts as an additional clip mask to be ANDed with the clip-mask. Any size pixmap can be used for tiling or stippling, although some sizes may be faster to use than others.

XCB_GC_TILE_STIPPLE_ORIGIN_X 

TODO

XCB_GC_TILE_STIPPLE_ORIGIN_Y 

TODO

XCB_GC_FONT 

Which font to use for the ImageText8 and ImageText16 requests.

XCB_GC_SUBWINDOW_MODE 

For ClipByChildren, both source and destination windows are additionally clipped by all viewable InputOutput children. For IncludeInferiors, neither source nor destination window is clipped by inferiors. This will result in including subwindow contents in the source and drawing through subwindow boundaries of the destination. The use of IncludeInferiors with a source or destination window of one depth with mapped inferiors of differing depth is not illegal, but the semantics is undefined by the core protocol.

XCB_GC_GRAPHICS_EXPOSURES 

Whether ExposureEvents should be generated (1) or not (0).

The default is 1.

XCB_GC_CLIP_ORIGIN_X 

TODO

XCB_GC_CLIP_ORIGIN_Y 

TODO

XCB_GC_CLIP_MASK 

The clip-mask restricts writes to the destination drawable. Only pixels where the clip-mask has bits set to 1 are drawn. Pixels are not drawn outside the area covered by the clip-mask or where the clip-mask has bits set to 0. The clip-mask affects all graphics requests, but it does not clip sources. The clip-mask origin is interpreted relative to the origin of whatever destination drawable is specified in a graphics request. If a pixmap is specified as the clip-mask, it must have depth 1 and have the same root as the gcontext (or a Match error results). If clip-mask is None, then pixels are always drawn, regardless of the clip origin. The clip-mask can also be set with the SetClipRectangles request.

XCB_GC_DASH_OFFSET 

TODO

XCB_GC_DASH_LIST 

TODO

XCB_GC_ARC_MODE 

TODO

Enumerator
XCB_GRAB_MODE_SYNC 

The state of the keyboard appears to freeze: No further keyboard events are generated by the server until the grabbing client issues a releasing AllowEvents request or until the keyboard grab is released.

XCB_GRAB_MODE_ASYNC 

Keyboard event processing continues normally.

Enumerator
XCB_INPUT_FOCUS_NONE 

The focus reverts to XCB_NONE, so no window will have the input focus.

XCB_INPUT_FOCUS_POINTER_ROOT 

The focus reverts to XCB_POINTER_ROOT respectively. When the focus reverts, FocusIn and FocusOut events are generated, but the last-focus-change time is not changed.

XCB_INPUT_FOCUS_PARENT 

The focus reverts to the parent (or closest viewable ancestor) and the new revert_to value is XCB_INPUT_FOCUS_NONE.

XCB_INPUT_FOCUS_FOLLOW_KEYBOARD 

NOT YET DOCUMENTED. Only relevant for the xinput extension.

Enumerator
XCB_PLACE_ON_TOP 

The window is now on top of all siblings.

XCB_PLACE_ON_BOTTOM 

The window is now below all siblings.

Enumerator
XCB_PROP_MODE_REPLACE 

Discard the previous property value and store the new data.

XCB_PROP_MODE_PREPEND 

Insert the new data before the beginning of existing data. The format must match existing property value. If the property is undefined, it is treated as defined with the correct type and format with zero-length data.

XCB_PROP_MODE_APPEND 

Insert the new data after the beginning of existing data. The format must match existing property value. If the property is undefined, it is treated as defined with the correct type and format with zero-length data.

Function Documentation

xcb_alloc_color_cookie_t xcb_alloc_color ( xcb_connection_t c,
xcb_colormap_t  cmap,
uint16_t  red,
uint16_t  green,
uint16_t  blue 
)

Allocate a color.

Parameters
cThe connection
cmapTODO
redThe red value of your color.
greenThe green value of your color.
blueThe blue value of your color.
Returns
A cookie

Allocates a read-only colormap entry corresponding to the closest RGB value supported by the hardware. If you are using TrueColor, you can take a shortcut and directly calculate the color pixel value to avoid the round trip. But, for example, on 16-bit color setups (VNC), you can easily get the closest supported RGB value to the RGB value you are specifying.

References XCB_ALLOC_COLOR.

xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells ( xcb_connection_t c,
uint8_t  contiguous,
xcb_colormap_t  cmap,
uint16_t  colors,
uint16_t  planes 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_ALLOC_COLOR_CELLS.

xcb_alloc_color_cells_reply_t* xcb_alloc_color_cells_reply ( xcb_connection_t c,
xcb_alloc_color_cells_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_alloc_color_cells_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells_unchecked ( xcb_connection_t c,
uint8_t  contiguous,
xcb_colormap_t  cmap,
uint16_t  colors,
uint16_t  planes 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_ALLOC_COLOR_CELLS.

xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes ( xcb_connection_t c,
uint8_t  contiguous,
xcb_colormap_t  cmap,
uint16_t  colors,
uint16_t  reds,
uint16_t  greens,
uint16_t  blues 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_ALLOC_COLOR_PLANES.

xcb_alloc_color_planes_reply_t* xcb_alloc_color_planes_reply ( xcb_connection_t c,
xcb_alloc_color_planes_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_alloc_color_planes_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes_unchecked ( xcb_connection_t c,
uint8_t  contiguous,
xcb_colormap_t  cmap,
uint16_t  colors,
uint16_t  reds,
uint16_t  greens,
uint16_t  blues 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_ALLOC_COLOR_PLANES.

xcb_alloc_color_reply_t* xcb_alloc_color_reply ( xcb_connection_t c,
xcb_alloc_color_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_alloc_color_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_alloc_color_cookie_t xcb_alloc_color_unchecked ( xcb_connection_t c,
xcb_colormap_t  cmap,
uint16_t  red,
uint16_t  green,
uint16_t  blue 
)

Allocate a color.

Parameters
cThe connection
cmapTODO
redThe red value of your color.
greenThe green value of your color.
blueThe blue value of your color.
Returns
A cookie

Allocates a read-only colormap entry corresponding to the closest RGB value supported by the hardware. If you are using TrueColor, you can take a shortcut and directly calculate the color pixel value to avoid the round trip. But, for example, on 16-bit color setups (VNC), you can easily get the closest supported RGB value to the RGB value you are specifying.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_ALLOC_COLOR.

xcb_alloc_named_color_cookie_t xcb_alloc_named_color ( xcb_connection_t c,
xcb_colormap_t  cmap,
uint16_t  name_len,
const char *  name 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_ALLOC_NAMED_COLOR.

xcb_alloc_named_color_reply_t* xcb_alloc_named_color_reply ( xcb_connection_t c,
xcb_alloc_named_color_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_alloc_named_color_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_alloc_named_color_cookie_t xcb_alloc_named_color_unchecked ( xcb_connection_t c,
xcb_colormap_t  cmap,
uint16_t  name_len,
const char *  name 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_ALLOC_NAMED_COLOR.

xcb_void_cookie_t xcb_allow_events ( xcb_connection_t c,
uint8_t  mode,
xcb_timestamp_t  time 
)

release queued events

Parameters
cThe connection
modeA bitmask of xcb_allow_t values.
mode
timeTimestamp to avoid race conditions when running X over the network.
The special value XCB_CURRENT_TIME will be replaced with the current server time.
Returns
A cookie

Releases queued events if the client has caused a device (pointer/keyboard) to freeze due to grabbing it actively. This request has no effect if time is earlier than the last-grab time of the most recent active grab for this client or if time is later than the current X server time.

References XCB_ALLOW_EVENTS.

xcb_void_cookie_t xcb_allow_events_checked ( xcb_connection_t c,
uint8_t  mode,
xcb_timestamp_t  time 
)

release queued events

Parameters
cThe connection
modeA bitmask of xcb_allow_t values.
mode
timeTimestamp to avoid race conditions when running X over the network.
The special value XCB_CURRENT_TIME will be replaced with the current server time.
Returns
A cookie

Releases queued events if the client has caused a device (pointer/keyboard) to freeze due to grabbing it actively. This request has no effect if time is earlier than the last-grab time of the most recent active grab for this client or if time is later than the current X server time.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_ALLOW_EVENTS.

Return the iterator pointing to the last element

Parameters
iAn xcb_arc_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_arc_next ( xcb_arc_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_arc_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_arc_t)

Return the iterator pointing to the last element

Parameters
iAn xcb_atom_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_atom_next ( xcb_atom_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_atom_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_atom_t)

xcb_void_cookie_t xcb_bell ( xcb_connection_t c,
int8_t  percent 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_BELL.

xcb_void_cookie_t xcb_bell_checked ( xcb_connection_t c,
int8_t  percent 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_BELL.

Return the iterator pointing to the last element

Parameters
iAn xcb_bool32_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_bool32_next ( xcb_bool32_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_bool32_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_bool32_t)

Return the iterator pointing to the last element

Parameters
iAn xcb_button_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_button_next ( xcb_button_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_button_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_button_t)

xcb_void_cookie_t xcb_change_active_pointer_grab ( xcb_connection_t c,
xcb_cursor_t  cursor,
xcb_timestamp_t  time,
uint16_t  event_mask 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_CHANGE_ACTIVE_POINTER_GRAB.

xcb_void_cookie_t xcb_change_active_pointer_grab_checked ( xcb_connection_t c,
xcb_cursor_t  cursor,
xcb_timestamp_t  time,
uint16_t  event_mask 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CHANGE_ACTIVE_POINTER_GRAB.

xcb_void_cookie_t xcb_change_gc ( xcb_connection_t c,
xcb_gcontext_t  gc,
uint32_t  value_mask,
const void *  value_list 
)

change graphics context components

Parameters
cThe connection
gcThe graphics context to change.
value_maskA bitmask of xcb_gc_t values.
value_mask
value_listValues for each of the components specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example.
Returns
A cookie

Changes the components specified by value_mask for the specified graphics context.

References XCB_CHANGE_GC.

xcb_void_cookie_t xcb_change_gc_aux ( xcb_connection_t c,
xcb_gcontext_t  gc,
uint32_t  value_mask,
const xcb_change_gc_value_list_t value_list 
)

change graphics context components

Parameters
cThe connection
gcThe graphics context to change.
value_maskA bitmask of xcb_gc_t values.
value_mask
value_listValues for each of the components specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example.
Returns
A cookie

Changes the components specified by value_mask for the specified graphics context.

References XCB_CHANGE_GC.

xcb_void_cookie_t xcb_change_gc_aux_checked ( xcb_connection_t c,
xcb_gcontext_t  gc,
uint32_t  value_mask,
const xcb_change_gc_value_list_t value_list 
)

change graphics context components

Parameters
cThe connection
gcThe graphics context to change.
value_maskA bitmask of xcb_gc_t values.
value_mask
value_listValues for each of the components specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example.
Returns
A cookie

Changes the components specified by value_mask for the specified graphics context.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CHANGE_GC.

xcb_void_cookie_t xcb_change_gc_checked ( xcb_connection_t c,
xcb_gcontext_t  gc,
uint32_t  value_mask,
const void *  value_list 
)

change graphics context components

Parameters
cThe connection
gcThe graphics context to change.
value_maskA bitmask of xcb_gc_t values.
value_mask
value_listValues for each of the components specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example.
Returns
A cookie

Changes the components specified by value_mask for the specified graphics context.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CHANGE_GC.

xcb_void_cookie_t xcb_change_hosts ( xcb_connection_t c,
uint8_t  mode,
uint8_t  family,
uint16_t  address_len,
const uint8_t *  address 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_CHANGE_HOSTS.

xcb_void_cookie_t xcb_change_hosts_checked ( xcb_connection_t c,
uint8_t  mode,
uint8_t  family,
uint16_t  address_len,
const uint8_t *  address 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CHANGE_HOSTS.

xcb_void_cookie_t xcb_change_keyboard_control ( xcb_connection_t c,
uint32_t  value_mask,
const void *  value_list 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_CHANGE_KEYBOARD_CONTROL.

xcb_void_cookie_t xcb_change_keyboard_control_aux ( xcb_connection_t c,
uint32_t  value_mask,
const xcb_change_keyboard_control_value_list_t value_list 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_CHANGE_KEYBOARD_CONTROL.

xcb_void_cookie_t xcb_change_keyboard_control_aux_checked ( xcb_connection_t c,
uint32_t  value_mask,
const xcb_change_keyboard_control_value_list_t value_list 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CHANGE_KEYBOARD_CONTROL.

xcb_void_cookie_t xcb_change_keyboard_control_checked ( xcb_connection_t c,
uint32_t  value_mask,
const void *  value_list 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CHANGE_KEYBOARD_CONTROL.

xcb_void_cookie_t xcb_change_keyboard_mapping ( xcb_connection_t c,
uint8_t  keycode_count,
xcb_keycode_t  first_keycode,
uint8_t  keysyms_per_keycode,
const xcb_keysym_t *  keysyms 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_CHANGE_KEYBOARD_MAPPING.

xcb_void_cookie_t xcb_change_keyboard_mapping_checked ( xcb_connection_t c,
uint8_t  keycode_count,
xcb_keycode_t  first_keycode,
uint8_t  keysyms_per_keycode,
const xcb_keysym_t *  keysyms 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CHANGE_KEYBOARD_MAPPING.

xcb_void_cookie_t xcb_change_pointer_control ( xcb_connection_t c,
int16_t  acceleration_numerator,
int16_t  acceleration_denominator,
int16_t  threshold,
uint8_t  do_acceleration,
uint8_t  do_threshold 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_CHANGE_POINTER_CONTROL.

xcb_void_cookie_t xcb_change_pointer_control_checked ( xcb_connection_t c,
int16_t  acceleration_numerator,
int16_t  acceleration_denominator,
int16_t  threshold,
uint8_t  do_acceleration,
uint8_t  do_threshold 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CHANGE_POINTER_CONTROL.

xcb_void_cookie_t xcb_change_property ( xcb_connection_t c,
uint8_t  mode,
xcb_window_t  window,
xcb_atom_t  property,
xcb_atom_t  type,
uint8_t  format,
uint32_t  data_len,
const void *  data 
)

Changes a window property.

Parameters
cThe connection
modeA bitmask of xcb_prop_mode_t values.
mode
windowThe window whose property you want to change.
propertyThe property you want to change (an atom).
typeThe type of the property you want to change (an atom).
formatSpecifies whether the data should be viewed as a list of 8-bit, 16-bit or 32-bit quantities. Possible values are 8, 16 and 32. This information allows the X server to correctly perform byte-swap operations as necessary.
data_lenSpecifies the number of elements (see format).
dataThe property data.
Returns
A cookie

Sets or updates a property on the specified window. Properties are for example the window title (WM_NAME) or its minimum size (WM_NORMAL_HINTS). Protocols such as EWMH also use properties - for example EWMH defines the window title, encoded as UTF-8 string, in the _NET_WM_NAME property.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_CHANGE_PROPERTY.

xcb_void_cookie_t xcb_change_property_checked ( xcb_connection_t c,
uint8_t  mode,
xcb_window_t  window,
xcb_atom_t  property,
xcb_atom_t  type,
uint8_t  format,
uint32_t  data_len,
const void *  data 
)

Changes a window property.

Parameters
cThe connection
modeA bitmask of xcb_prop_mode_t values.
mode
windowThe window whose property you want to change.
propertyThe property you want to change (an atom).
typeThe type of the property you want to change (an atom).
formatSpecifies whether the data should be viewed as a list of 8-bit, 16-bit or 32-bit quantities. Possible values are 8, 16 and 32. This information allows the X server to correctly perform byte-swap operations as necessary.
data_lenSpecifies the number of elements (see format).
dataThe property data.
Returns
A cookie

Sets or updates a property on the specified window. Properties are for example the window title (WM_NAME) or its minimum size (WM_NORMAL_HINTS). Protocols such as EWMH also use properties - for example EWMH defines the window title, encoded as UTF-8 string, in the _NET_WM_NAME property.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CHANGE_PROPERTY.

xcb_void_cookie_t xcb_change_save_set ( xcb_connection_t c,
uint8_t  mode,
xcb_window_t  window 
)

Changes a client's save set.

Parameters
cThe connection
modeA bitmask of #xcb_set_mode_t values.
modeInsert to add the specified window to the save set or Delete to delete it from the save set.
windowThe window to add or delete to/from your save set.
Returns
A cookie

TODO: explain what the save set is for.

This function either adds or removes the specified window to the client's (your application's) save set.

References XCB_CHANGE_SAVE_SET.

xcb_void_cookie_t xcb_change_save_set_checked ( xcb_connection_t c,
uint8_t  mode,
xcb_window_t  window 
)

Changes a client's save set.

Parameters
cThe connection
modeA bitmask of #xcb_set_mode_t values.
modeInsert to add the specified window to the save set or Delete to delete it from the save set.
windowThe window to add or delete to/from your save set.
Returns
A cookie

TODO: explain what the save set is for.

This function either adds or removes the specified window to the client's (your application's) save set.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CHANGE_SAVE_SET.

xcb_void_cookie_t xcb_change_window_attributes ( xcb_connection_t c,
xcb_window_t  window,
uint32_t  value_mask,
const void *  value_list 
)

change window attributes

Parameters
cThe connection
windowThe window to change.
value_maskA bitmask of xcb_cw_t values.
value_mask
value_listValues for each of the attributes specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example.
Returns
A cookie

Changes the attributes specified by value_mask for the specified window.

References XCB_CHANGE_WINDOW_ATTRIBUTES.

xcb_void_cookie_t xcb_change_window_attributes_aux ( xcb_connection_t c,
xcb_window_t  window,
uint32_t  value_mask,
const xcb_change_window_attributes_value_list_t value_list 
)

change window attributes

Parameters
cThe connection
windowThe window to change.
value_maskA bitmask of xcb_cw_t values.
value_mask
value_listValues for each of the attributes specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example.
Returns
A cookie

Changes the attributes specified by value_mask for the specified window.

References XCB_CHANGE_WINDOW_ATTRIBUTES.

xcb_void_cookie_t xcb_change_window_attributes_aux_checked ( xcb_connection_t c,
xcb_window_t  window,
uint32_t  value_mask,
const xcb_change_window_attributes_value_list_t value_list 
)

change window attributes

Parameters
cThe connection
windowThe window to change.
value_maskA bitmask of xcb_cw_t values.
value_mask
value_listValues for each of the attributes specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example.
Returns
A cookie

Changes the attributes specified by value_mask for the specified window.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CHANGE_WINDOW_ATTRIBUTES.

xcb_void_cookie_t xcb_change_window_attributes_checked ( xcb_connection_t c,
xcb_window_t  window,
uint32_t  value_mask,
const void *  value_list 
)

change window attributes

Parameters
cThe connection
windowThe window to change.
value_maskA bitmask of xcb_cw_t values.
value_mask
value_listValues for each of the attributes specified in the bitmask value_mask. The order has to correspond to the order of possible value_mask bits. See the example.
Returns
A cookie

Changes the attributes specified by value_mask for the specified window.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CHANGE_WINDOW_ATTRIBUTES.

Return the iterator pointing to the last element

Parameters
iAn xcb_char2b_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_char2b_next ( xcb_char2b_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_char2b_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_char2b_t)

Return the iterator pointing to the last element

Parameters
iAn xcb_charinfo_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_charinfo_next ( xcb_charinfo_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_charinfo_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_charinfo_t)

xcb_void_cookie_t xcb_circulate_window ( xcb_connection_t c,
uint8_t  direction,
xcb_window_t  window 
)

Change window stacking order.

Parameters
cThe connection
directionA bitmask of #xcb_circulate_t values.
direction
windowThe window to raise/lower (depending on direction).
Returns
A cookie

If direction is XCB_CIRCULATE_RAISE_LOWEST, the lowest mapped child (if any) will be raised to the top of the stack.

If direction is XCB_CIRCULATE_LOWER_HIGHEST, the highest mapped child will be lowered to the bottom of the stack.

References XCB_CIRCULATE_WINDOW.

xcb_void_cookie_t xcb_circulate_window_checked ( xcb_connection_t c,
uint8_t  direction,
xcb_window_t  window 
)

Change window stacking order.

Parameters
cThe connection
directionA bitmask of #xcb_circulate_t values.
direction
windowThe window to raise/lower (depending on direction).
Returns
A cookie

If direction is XCB_CIRCULATE_RAISE_LOWEST, the lowest mapped child (if any) will be raised to the top of the stack.

If direction is XCB_CIRCULATE_LOWER_HIGHEST, the highest mapped child will be lowered to the bottom of the stack.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CIRCULATE_WINDOW.

xcb_void_cookie_t xcb_clear_area ( xcb_connection_t c,
uint8_t  exposures,
xcb_window_t  window,
int16_t  x,
int16_t  y,
uint16_t  width,
uint16_t  height 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_CLEAR_AREA.

xcb_void_cookie_t xcb_clear_area_checked ( xcb_connection_t c,
uint8_t  exposures,
xcb_window_t  window,
int16_t  x,
int16_t  y,
uint16_t  width,
uint16_t  height 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CLEAR_AREA.

xcb_generic_iterator_t xcb_client_message_data_end ( xcb_client_message_data_iterator_t  i)

Return the iterator pointing to the last element

Parameters
iAn xcb_client_message_data_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, XCB_CW_BACK_PIXEL, XCB_CW_BACK_PIXMAP, XCB_CW_BACKING_PIXEL, XCB_CW_BACKING_PLANES, XCB_CW_BACKING_STORE, XCB_CW_BIT_GRAVITY, XCB_CW_BORDER_PIXEL, XCB_CW_BORDER_PIXMAP, XCB_CW_COLORMAP, XCB_CW_CURSOR, XCB_CW_DONT_PROPAGATE, XCB_CW_EVENT_MASK, XCB_CW_OVERRIDE_REDIRECT, XCB_CW_SAVE_UNDER, and XCB_CW_WIN_GRAVITY.

void xcb_client_message_data_next ( xcb_client_message_data_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_client_message_data_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_client_message_data_t)

xcb_void_cookie_t xcb_close_font ( xcb_connection_t c,
xcb_font_t  font 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_CLOSE_FONT.

xcb_void_cookie_t xcb_close_font_checked ( xcb_connection_t c,
xcb_font_t  font 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CLOSE_FONT.

Return the iterator pointing to the last element

Parameters
iAn xcb_coloritem_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_coloritem_next ( xcb_coloritem_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_coloritem_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_coloritem_t)

Return the iterator pointing to the last element

Parameters
iAn xcb_colormap_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_colormap_next ( xcb_colormap_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_colormap_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_colormap_t)

xcb_void_cookie_t xcb_configure_window ( xcb_connection_t c,
xcb_window_t  window,
uint16_t  value_mask,
const void *  value_list 
)

Configures window attributes.

Parameters
cThe connection
windowThe window to configure.
value_maskBitmask of attributes to change.
value_listNew values, corresponding to the attributes in value_mask. The order has to correspond to the order of possible value_mask bits. See the example.
Returns
A cookie

Configures a window's size, position, border width and stacking order.

References XCB_CONFIGURE_WINDOW.

xcb_void_cookie_t xcb_configure_window_aux ( xcb_connection_t c,
xcb_window_t  window,
uint16_t  value_mask,
const xcb_configure_window_value_list_t value_list 
)

Configures window attributes.

Parameters
cThe connection
windowThe window to configure.
value_maskBitmask of attributes to change.
value_listNew values, corresponding to the attributes in value_mask. The order has to correspond to the order of possible value_mask bits. See the example.
Returns
A cookie

Configures a window's size, position, border width and stacking order.

References XCB_CONFIGURE_WINDOW.

xcb_void_cookie_t xcb_configure_window_aux_checked ( xcb_connection_t c,
xcb_window_t  window,
uint16_t  value_mask,
const xcb_configure_window_value_list_t value_list 
)

Configures window attributes.

Parameters
cThe connection
windowThe window to configure.
value_maskBitmask of attributes to change.
value_listNew values, corresponding to the attributes in value_mask. The order has to correspond to the order of possible value_mask bits. See the example.
Returns
A cookie

Configures a window's size, position, border width and stacking order.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CONFIGURE_WINDOW.

xcb_void_cookie_t xcb_configure_window_checked ( xcb_connection_t c,
xcb_window_t  window,
uint16_t  value_mask,
const void *  value_list 
)

Configures window attributes.

Parameters
cThe connection
windowThe window to configure.
value_maskBitmask of attributes to change.
value_listNew values, corresponding to the attributes in value_mask. The order has to correspond to the order of possible value_mask bits. See the example.
Returns
A cookie

Configures a window's size, position, border width and stacking order.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CONFIGURE_WINDOW.

xcb_void_cookie_t xcb_convert_selection ( xcb_connection_t c,
xcb_window_t  requestor,
xcb_atom_t  selection,
xcb_atom_t  target,
xcb_atom_t  property,
xcb_timestamp_t  time 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_CONVERT_SELECTION.

xcb_void_cookie_t xcb_convert_selection_checked ( xcb_connection_t c,
xcb_window_t  requestor,
xcb_atom_t  selection,
xcb_atom_t  target,
xcb_atom_t  property,
xcb_timestamp_t  time 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CONVERT_SELECTION.

xcb_void_cookie_t xcb_copy_area ( xcb_connection_t c,
xcb_drawable_t  src_drawable,
xcb_drawable_t  dst_drawable,
xcb_gcontext_t  gc,
int16_t  src_x,
int16_t  src_y,
int16_t  dst_x,
int16_t  dst_y,
uint16_t  width,
uint16_t  height 
)

copy areas

Parameters
cThe connection
src_drawableThe source drawable (Window or Pixmap).
dst_drawableThe destination drawable (Window or Pixmap).
gcThe graphics context to use.
src_xThe source X coordinate.
src_yThe source Y coordinate.
dst_xThe destination X coordinate.
dst_yThe destination Y coordinate.
widthThe width of the area to copy (in pixels).
heightThe height of the area to copy (in pixels).
Returns
A cookie

Copies the specified rectangle from src_drawable to dst_drawable.

References XCB_COPY_AREA.

xcb_void_cookie_t xcb_copy_area_checked ( xcb_connection_t c,
xcb_drawable_t  src_drawable,
xcb_drawable_t  dst_drawable,
xcb_gcontext_t  gc,
int16_t  src_x,
int16_t  src_y,
int16_t  dst_x,
int16_t  dst_y,
uint16_t  width,
uint16_t  height 
)

copy areas

Parameters
cThe connection
src_drawableThe source drawable (Window or Pixmap).
dst_drawableThe destination drawable (Window or Pixmap).
gcThe graphics context to use.
src_xThe source X coordinate.
src_yThe source Y coordinate.
dst_xThe destination X coordinate.
dst_yThe destination Y coordinate.
widthThe width of the area to copy (in pixels).
heightThe height of the area to copy (in pixels).
Returns
A cookie

Copies the specified rectangle from src_drawable to dst_drawable.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_COPY_AREA.

xcb_void_cookie_t xcb_copy_colormap_and_free ( xcb_connection_t c,
xcb_colormap_t  mid,
xcb_colormap_t  src_cmap 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_COPY_COLORMAP_AND_FREE.

xcb_void_cookie_t xcb_copy_colormap_and_free_checked ( xcb_connection_t c,
xcb_colormap_t  mid,
xcb_colormap_t  src_cmap 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_COPY_COLORMAP_AND_FREE.

xcb_void_cookie_t xcb_copy_gc ( xcb_connection_t c,
xcb_gcontext_t  src_gc,
xcb_gcontext_t  dst_gc,
uint32_t  value_mask 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_COPY_GC.

xcb_void_cookie_t xcb_copy_gc_checked ( xcb_connection_t c,
xcb_gcontext_t  src_gc,
xcb_gcontext_t  dst_gc,
uint32_t  value_mask 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_COPY_GC.

xcb_void_cookie_t xcb_copy_plane ( xcb_connection_t c,
xcb_drawable_t  src_drawable,
xcb_drawable_t  dst_drawable,
xcb_gcontext_t  gc,
int16_t  src_x,
int16_t  src_y,
int16_t  dst_x,
int16_t  dst_y,
uint16_t  width,
uint16_t  height,
uint32_t  bit_plane 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_COPY_PLANE.

xcb_void_cookie_t xcb_copy_plane_checked ( xcb_connection_t c,
xcb_drawable_t  src_drawable,
xcb_drawable_t  dst_drawable,
xcb_gcontext_t  gc,
int16_t  src_x,
int16_t  src_y,
int16_t  dst_x,
int16_t  dst_y,
uint16_t  width,
uint16_t  height,
uint32_t  bit_plane 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_COPY_PLANE.

xcb_void_cookie_t xcb_create_colormap ( xcb_connection_t c,
uint8_t  alloc,
xcb_colormap_t  mid,
xcb_window_t  window,
xcb_visualid_t  visual 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_CREATE_COLORMAP.

xcb_void_cookie_t xcb_create_colormap_checked ( xcb_connection_t c,
uint8_t  alloc,
xcb_colormap_t  mid,
xcb_window_t  window,
xcb_visualid_t  visual 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CREATE_COLORMAP.

xcb_void_cookie_t xcb_create_cursor ( xcb_connection_t c,
xcb_cursor_t  cid,
xcb_pixmap_t  source,
xcb_pixmap_t  mask,
uint16_t  fore_red,
uint16_t  fore_green,
uint16_t  fore_blue,
uint16_t  back_red,
uint16_t  back_green,
uint16_t  back_blue,
uint16_t  x,
uint16_t  y 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_CREATE_CURSOR.

xcb_void_cookie_t xcb_create_cursor_checked ( xcb_connection_t c,
xcb_cursor_t  cid,
xcb_pixmap_t  source,
xcb_pixmap_t  mask,
uint16_t  fore_red,
uint16_t  fore_green,
uint16_t  fore_blue,
uint16_t  back_red,
uint16_t  back_green,
uint16_t  back_blue,
uint16_t  x,
uint16_t  y 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CREATE_CURSOR.

xcb_void_cookie_t xcb_create_gc ( xcb_connection_t c,
xcb_gcontext_t  cid,
xcb_drawable_t  drawable,
uint32_t  value_mask,
const void *  value_list 
)

Creates a graphics context.

Parameters
cThe connection
cidThe ID with which you will refer to the graphics context, created by xcb_generate_id.
drawableDrawable to get the root/depth from.
Returns
A cookie

Creates a graphics context. The graphics context can be used with any drawable that has the same root and depth as the specified drawable.

References XCB_CREATE_GC.

xcb_void_cookie_t xcb_create_gc_aux ( xcb_connection_t c,
xcb_gcontext_t  cid,
xcb_drawable_t  drawable,
uint32_t  value_mask,
const xcb_create_gc_value_list_t value_list 
)

Creates a graphics context.

Parameters
cThe connection
cidThe ID with which you will refer to the graphics context, created by xcb_generate_id.
drawableDrawable to get the root/depth from.
Returns
A cookie

Creates a graphics context. The graphics context can be used with any drawable that has the same root and depth as the specified drawable.

References XCB_CREATE_GC, XCB_GC_ARC_MODE, XCB_GC_BACKGROUND, XCB_GC_CAP_STYLE, XCB_GC_CLIP_MASK, XCB_GC_CLIP_ORIGIN_X, XCB_GC_CLIP_ORIGIN_Y, XCB_GC_DASH_LIST, XCB_GC_DASH_OFFSET, XCB_GC_FILL_STYLE, XCB_GC_FONT, XCB_GC_FOREGROUND, XCB_GC_FUNCTION, XCB_GC_GRAPHICS_EXPOSURES, XCB_GC_JOIN_STYLE, XCB_GC_LINE_STYLE, XCB_GC_LINE_WIDTH, XCB_GC_PLANE_MASK, XCB_GC_STIPPLE, XCB_GC_SUBWINDOW_MODE, XCB_GC_TILE, XCB_GC_TILE_STIPPLE_ORIGIN_X, and XCB_GC_TILE_STIPPLE_ORIGIN_Y.

xcb_void_cookie_t xcb_create_gc_aux_checked ( xcb_connection_t c,
xcb_gcontext_t  cid,
xcb_drawable_t  drawable,
uint32_t  value_mask,
const xcb_create_gc_value_list_t value_list 
)

Creates a graphics context.

Parameters
cThe connection
cidThe ID with which you will refer to the graphics context, created by xcb_generate_id.
drawableDrawable to get the root/depth from.
Returns
A cookie

Creates a graphics context. The graphics context can be used with any drawable that has the same root and depth as the specified drawable.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CREATE_GC.

xcb_void_cookie_t xcb_create_gc_checked ( xcb_connection_t c,
xcb_gcontext_t  cid,
xcb_drawable_t  drawable,
uint32_t  value_mask,
const void *  value_list 
)

Creates a graphics context.

Parameters
cThe connection
cidThe ID with which you will refer to the graphics context, created by xcb_generate_id.
drawableDrawable to get the root/depth from.
Returns
A cookie

Creates a graphics context. The graphics context can be used with any drawable that has the same root and depth as the specified drawable.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CREATE_GC.

xcb_void_cookie_t xcb_create_glyph_cursor ( xcb_connection_t c,
xcb_cursor_t  cid,
xcb_font_t  source_font,
xcb_font_t  mask_font,
uint16_t  source_char,
uint16_t  mask_char,
uint16_t  fore_red,
uint16_t  fore_green,
uint16_t  fore_blue,
uint16_t  back_red,
uint16_t  back_green,
uint16_t  back_blue 
)

create cursor

Parameters
cThe connection
cidThe ID with which you will refer to the cursor, created by xcb_generate_id.
source_fontIn which font to look for the cursor glyph.
mask_fontIn which font to look for the mask glyph.
source_charThe glyph of source_font to use.
mask_charThe glyph of mask_font to use as a mask: Pixels which are set to 1 define which source pixels are displayed. All pixels which are set to 0 are not displayed.
fore_redThe red value of the foreground color.
fore_greenThe green value of the foreground color.
fore_blueThe blue value of the foreground color.
back_redThe red value of the background color.
back_greenThe green value of the background color.
back_blueThe blue value of the background color.
Returns
A cookie

Creates a cursor from a font glyph. X provides a set of standard cursor shapes in a special font named cursor. Applications are encouraged to use this interface for their cursors because the font can be customized for the individual display type.

All pixels which are set to 1 in the source will use the foreground color (as specified by fore_red, fore_green and fore_blue). All pixels set to 0 will use the background color (as specified by back_red, back_green and back_blue).

References XCB_CREATE_GLYPH_CURSOR.

xcb_void_cookie_t xcb_create_glyph_cursor_checked ( xcb_connection_t c,
xcb_cursor_t  cid,
xcb_font_t  source_font,
xcb_font_t  mask_font,
uint16_t  source_char,
uint16_t  mask_char,
uint16_t  fore_red,
uint16_t  fore_green,
uint16_t  fore_blue,
uint16_t  back_red,
uint16_t  back_green,
uint16_t  back_blue 
)

create cursor

Parameters
cThe connection
cidThe ID with which you will refer to the cursor, created by xcb_generate_id.
source_fontIn which font to look for the cursor glyph.
mask_fontIn which font to look for the mask glyph.
source_charThe glyph of source_font to use.
mask_charThe glyph of mask_font to use as a mask: Pixels which are set to 1 define which source pixels are displayed. All pixels which are set to 0 are not displayed.
fore_redThe red value of the foreground color.
fore_greenThe green value of the foreground color.
fore_blueThe blue value of the foreground color.
back_redThe red value of the background color.
back_greenThe green value of the background color.
back_blueThe blue value of the background color.
Returns
A cookie

Creates a cursor from a font glyph. X provides a set of standard cursor shapes in a special font named cursor. Applications are encouraged to use this interface for their cursors because the font can be customized for the individual display type.

All pixels which are set to 1 in the source will use the foreground color (as specified by fore_red, fore_green and fore_blue). All pixels set to 0 will use the background color (as specified by back_red, back_green and back_blue).

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CREATE_GLYPH_CURSOR.

xcb_void_cookie_t xcb_create_pixmap ( xcb_connection_t c,
uint8_t  depth,
xcb_pixmap_t  pid,
xcb_drawable_t  drawable,
uint16_t  width,
uint16_t  height 
)

Creates a pixmap.

Parameters
cThe connection
depthTODO
pidThe ID with which you will refer to the new pixmap, created by xcb_generate_id.
drawableDrawable to get the screen from.
widthThe width of the new pixmap.
heightThe height of the new pixmap.
Returns
A cookie

Creates a pixmap. The pixmap can only be used on the same screen as drawable is on and only with drawables of the same depth.

References XCB_CREATE_PIXMAP.

xcb_void_cookie_t xcb_create_pixmap_checked ( xcb_connection_t c,
uint8_t  depth,
xcb_pixmap_t  pid,
xcb_drawable_t  drawable,
uint16_t  width,
uint16_t  height 
)

Creates a pixmap.

Parameters
cThe connection
depthTODO
pidThe ID with which you will refer to the new pixmap, created by xcb_generate_id.
drawableDrawable to get the screen from.
widthThe width of the new pixmap.
heightThe height of the new pixmap.
Returns
A cookie

Creates a pixmap. The pixmap can only be used on the same screen as drawable is on and only with drawables of the same depth.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CREATE_PIXMAP.

xcb_void_cookie_t xcb_create_window ( xcb_connection_t c,
uint8_t  depth,
xcb_window_t  wid,
xcb_window_t  parent,
int16_t  x,
int16_t  y,
uint16_t  width,
uint16_t  height,
uint16_t  border_width,
uint16_t  _class,
xcb_visualid_t  visual,
uint32_t  value_mask,
const void *  value_list 
)

Creates a window.

Parameters
cThe connection
depthSpecifies the new window's depth (TODO: what unit?).
The special value XCB_COPY_FROM_PARENT means the depth is taken from the parent window.
widThe ID with which you will refer to the new window, created by xcb_generate_id.
parentThe parent window of the new window.
xThe X coordinate of the new window.
yThe Y coordinate of the new window.
widthThe width of the new window.
heightThe height of the new window.
border_widthTODO:
Must be zero if the class is InputOnly or a xcb_match_error_t occurs.
_classA bitmask of #xcb_window_class_t values.
_class
visualSpecifies the id for the new window's visual.
The special value XCB_COPY_FROM_PARENT means the visual is taken from the parent window.
value_maskA bitmask of xcb_cw_t values.
Returns
A cookie

Creates an unmapped window as child of the specified parent window. A CreateNotify event will be generated. The new window is placed on top in the stacking order with respect to siblings.

The coordinate system has the X axis horizontal and the Y axis vertical with the origin [0, 0] at the upper-left corner. Coordinates are integral, in terms of pixels, and coincide with pixel centers. Each window and pixmap has its own coordinate system. For a window, the origin is inside the border at the inside, upper-left corner.

The created window is not yet displayed (mapped), call xcb_map_window to display it.

The created window will initially use the same cursor as its parent.

References XCB_CREATE_WINDOW.

xcb_void_cookie_t xcb_create_window_aux ( xcb_connection_t c,
uint8_t  depth,
xcb_window_t  wid,
xcb_window_t  parent,
int16_t  x,
int16_t  y,
uint16_t  width,
uint16_t  height,
uint16_t  border_width,
uint16_t  _class,
xcb_visualid_t  visual,
uint32_t  value_mask,
const xcb_create_window_value_list_t value_list 
)

Creates a window.

Parameters
cThe connection
depthSpecifies the new window's depth (TODO: what unit?).
The special value XCB_COPY_FROM_PARENT means the depth is taken from the parent window.
widThe ID with which you will refer to the new window, created by xcb_generate_id.
parentThe parent window of the new window.
xThe X coordinate of the new window.
yThe Y coordinate of the new window.
widthThe width of the new window.
heightThe height of the new window.
border_widthTODO:
Must be zero if the class is InputOnly or a xcb_match_error_t occurs.
_classA bitmask of #xcb_window_class_t values.
_class
visualSpecifies the id for the new window's visual.
The special value XCB_COPY_FROM_PARENT means the visual is taken from the parent window.
value_maskA bitmask of xcb_cw_t values.
Returns
A cookie

Creates an unmapped window as child of the specified parent window. A CreateNotify event will be generated. The new window is placed on top in the stacking order with respect to siblings.

The coordinate system has the X axis horizontal and the Y axis vertical with the origin [0, 0] at the upper-left corner. Coordinates are integral, in terms of pixels, and coincide with pixel centers. Each window and pixmap has its own coordinate system. For a window, the origin is inside the border at the inside, upper-left corner.

The created window is not yet displayed (mapped), call xcb_map_window to display it.

The created window will initially use the same cursor as its parent.

References XCB_CREATE_WINDOW, XCB_CW_BACK_PIXEL, XCB_CW_BACK_PIXMAP, XCB_CW_BACKING_PIXEL, XCB_CW_BACKING_PLANES, XCB_CW_BACKING_STORE, XCB_CW_BIT_GRAVITY, XCB_CW_BORDER_PIXEL, XCB_CW_BORDER_PIXMAP, XCB_CW_COLORMAP, XCB_CW_CURSOR, XCB_CW_DONT_PROPAGATE, XCB_CW_EVENT_MASK, XCB_CW_OVERRIDE_REDIRECT, XCB_CW_SAVE_UNDER, and XCB_CW_WIN_GRAVITY.

xcb_void_cookie_t xcb_create_window_aux_checked ( xcb_connection_t c,
uint8_t  depth,
xcb_window_t  wid,
xcb_window_t  parent,
int16_t  x,
int16_t  y,
uint16_t  width,
uint16_t  height,
uint16_t  border_width,
uint16_t  _class,
xcb_visualid_t  visual,
uint32_t  value_mask,
const xcb_create_window_value_list_t value_list 
)

Creates a window.

Parameters
cThe connection
depthSpecifies the new window's depth (TODO: what unit?).
The special value XCB_COPY_FROM_PARENT means the depth is taken from the parent window.
widThe ID with which you will refer to the new window, created by xcb_generate_id.
parentThe parent window of the new window.
xThe X coordinate of the new window.
yThe Y coordinate of the new window.
widthThe width of the new window.
heightThe height of the new window.
border_widthTODO:
Must be zero if the class is InputOnly or a xcb_match_error_t occurs.
_classA bitmask of #xcb_window_class_t values.
_class
visualSpecifies the id for the new window's visual.
The special value XCB_COPY_FROM_PARENT means the visual is taken from the parent window.
value_maskA bitmask of xcb_cw_t values.
Returns
A cookie

Creates an unmapped window as child of the specified parent window. A CreateNotify event will be generated. The new window is placed on top in the stacking order with respect to siblings.

The coordinate system has the X axis horizontal and the Y axis vertical with the origin [0, 0] at the upper-left corner. Coordinates are integral, in terms of pixels, and coincide with pixel centers. Each window and pixmap has its own coordinate system. For a window, the origin is inside the border at the inside, upper-left corner.

The created window is not yet displayed (mapped), call xcb_map_window to display it.

The created window will initially use the same cursor as its parent.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CREATE_WINDOW.

xcb_void_cookie_t xcb_create_window_checked ( xcb_connection_t c,
uint8_t  depth,
xcb_window_t  wid,
xcb_window_t  parent,
int16_t  x,
int16_t  y,
uint16_t  width,
uint16_t  height,
uint16_t  border_width,
uint16_t  _class,
xcb_visualid_t  visual,
uint32_t  value_mask,
const void *  value_list 
)

Creates a window.

Parameters
cThe connection
depthSpecifies the new window's depth (TODO: what unit?).
The special value XCB_COPY_FROM_PARENT means the depth is taken from the parent window.
widThe ID with which you will refer to the new window, created by xcb_generate_id.
parentThe parent window of the new window.
xThe X coordinate of the new window.
yThe Y coordinate of the new window.
widthThe width of the new window.
heightThe height of the new window.
border_widthTODO:
Must be zero if the class is InputOnly or a xcb_match_error_t occurs.
_classA bitmask of #xcb_window_class_t values.
_class
visualSpecifies the id for the new window's visual.
The special value XCB_COPY_FROM_PARENT means the visual is taken from the parent window.
value_maskA bitmask of xcb_cw_t values.
Returns
A cookie

Creates an unmapped window as child of the specified parent window. A CreateNotify event will be generated. The new window is placed on top in the stacking order with respect to siblings.

The coordinate system has the X axis horizontal and the Y axis vertical with the origin [0, 0] at the upper-left corner. Coordinates are integral, in terms of pixels, and coincide with pixel centers. Each window and pixmap has its own coordinate system. For a window, the origin is inside the border at the inside, upper-left corner.

The created window is not yet displayed (mapped), call xcb_map_window to display it.

The created window will initially use the same cursor as its parent.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_CREATE_WINDOW.

Return the iterator pointing to the last element

Parameters
iAn xcb_cursor_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_cursor_next ( xcb_cursor_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_cursor_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_cursor_t)

xcb_void_cookie_t xcb_delete_property ( xcb_connection_t c,
xcb_window_t  window,
xcb_atom_t  property 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_DELETE_PROPERTY.

xcb_void_cookie_t xcb_delete_property_checked ( xcb_connection_t c,
xcb_window_t  window,
xcb_atom_t  property 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_DELETE_PROPERTY.

Return the iterator pointing to the last element

Parameters
iAn xcb_depth_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_depth_next().

void xcb_depth_next ( xcb_depth_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_depth_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_depth_t)

References xcb_generic_iterator_t::data.

Referenced by xcb_depth_end().

xcb_void_cookie_t xcb_destroy_subwindows ( xcb_connection_t c,
xcb_window_t  window 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_DESTROY_SUBWINDOWS.

xcb_void_cookie_t xcb_destroy_subwindows_checked ( xcb_connection_t c,
xcb_window_t  window 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_DESTROY_SUBWINDOWS.

xcb_void_cookie_t xcb_destroy_window ( xcb_connection_t c,
xcb_window_t  window 
)

Destroys a window.

Parameters
cThe connection
windowThe window to destroy.
Returns
A cookie

Destroys the specified window and all of its subwindows. A DestroyNotify event is generated for each destroyed window (a DestroyNotify event is first generated for any given window's inferiors). If the window was mapped, it will be automatically unmapped before destroying.

Calling DestroyWindow on the root window will do nothing.

References XCB_DESTROY_WINDOW.

xcb_void_cookie_t xcb_destroy_window_checked ( xcb_connection_t c,
xcb_window_t  window 
)

Destroys a window.

Parameters
cThe connection
windowThe window to destroy.
Returns
A cookie

Destroys the specified window and all of its subwindows. A DestroyNotify event is generated for each destroyed window (a DestroyNotify event is first generated for any given window's inferiors). If the window was mapped, it will be automatically unmapped before destroying.

Calling DestroyWindow on the root window will do nothing.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_DESTROY_WINDOW.

Return the iterator pointing to the last element

Parameters
iAn xcb_drawable_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_drawable_next ( xcb_drawable_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_drawable_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_drawable_t)

xcb_void_cookie_t xcb_fill_poly ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint8_t  shape,
uint8_t  coordinate_mode,
uint32_t  points_len,
const xcb_point_t points 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_FILL_POLY.

xcb_void_cookie_t xcb_fill_poly_checked ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint8_t  shape,
uint8_t  coordinate_mode,
uint32_t  points_len,
const xcb_point_t points 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_FILL_POLY.

Return the iterator pointing to the last element

Parameters
iAn xcb_font_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_font_next ( xcb_font_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_font_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_font_t)

Return the iterator pointing to the last element

Parameters
iAn xcb_fontable_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_fontable_next ( xcb_fontable_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_fontable_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_fontable_t)

Return the iterator pointing to the last element

Parameters
iAn xcb_fontprop_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

Referenced by xcb_list_fonts_with_info_unchecked(), and xcb_query_font_unchecked().

void xcb_fontprop_next ( xcb_fontprop_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_fontprop_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_fontprop_t)

xcb_void_cookie_t xcb_force_screen_saver ( xcb_connection_t c,
uint8_t  mode 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_FORCE_SCREEN_SAVER.

xcb_void_cookie_t xcb_force_screen_saver_checked ( xcb_connection_t c,
uint8_t  mode 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_FORCE_SCREEN_SAVER.

Return the iterator pointing to the last element

Parameters
iAn xcb_format_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

Referenced by xcb_setup_authenticate_end().

void xcb_format_next ( xcb_format_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_format_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_format_t)

xcb_void_cookie_t xcb_free_colormap ( xcb_connection_t c,
xcb_colormap_t  cmap 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_FREE_COLORMAP.

xcb_void_cookie_t xcb_free_colormap_checked ( xcb_connection_t c,
xcb_colormap_t  cmap 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_FREE_COLORMAP.

xcb_void_cookie_t xcb_free_colors ( xcb_connection_t c,
xcb_colormap_t  cmap,
uint32_t  plane_mask,
uint32_t  pixels_len,
const uint32_t *  pixels 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_FREE_COLORS.

xcb_void_cookie_t xcb_free_colors_checked ( xcb_connection_t c,
xcb_colormap_t  cmap,
uint32_t  plane_mask,
uint32_t  pixels_len,
const uint32_t *  pixels 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_FREE_COLORS.

xcb_void_cookie_t xcb_free_cursor ( xcb_connection_t c,
xcb_cursor_t  cursor 
)

Deletes a cursor.

Parameters
cThe connection
cursorThe cursor to destroy.
Returns
A cookie

Deletes the association between the cursor resource ID and the specified cursor. The cursor is freed when no other resource references it.

References XCB_FREE_CURSOR.

xcb_void_cookie_t xcb_free_cursor_checked ( xcb_connection_t c,
xcb_cursor_t  cursor 
)

Deletes a cursor.

Parameters
cThe connection
cursorThe cursor to destroy.
Returns
A cookie

Deletes the association between the cursor resource ID and the specified cursor. The cursor is freed when no other resource references it.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_FREE_CURSOR.

xcb_void_cookie_t xcb_free_gc ( xcb_connection_t c,
xcb_gcontext_t  gc 
)

Destroys a graphics context.

Parameters
cThe connection
gcThe graphics context to destroy.
Returns
A cookie

Destroys the specified gc and all associated storage.

References XCB_FREE_GC.

xcb_void_cookie_t xcb_free_gc_checked ( xcb_connection_t c,
xcb_gcontext_t  gc 
)

Destroys a graphics context.

Parameters
cThe connection
gcThe graphics context to destroy.
Returns
A cookie

Destroys the specified gc and all associated storage.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_FREE_GC.

xcb_void_cookie_t xcb_free_pixmap ( xcb_connection_t c,
xcb_pixmap_t  pixmap 
)

Destroys a pixmap.

Parameters
cThe connection
pixmapThe pixmap to destroy.
Returns
A cookie

Deletes the association between the pixmap ID and the pixmap. The pixmap storage will be freed when there are no more references to it.

References XCB_FREE_PIXMAP, XCB_GC_ARC_MODE, XCB_GC_BACKGROUND, XCB_GC_CAP_STYLE, XCB_GC_CLIP_MASK, XCB_GC_CLIP_ORIGIN_X, XCB_GC_CLIP_ORIGIN_Y, XCB_GC_DASH_LIST, XCB_GC_DASH_OFFSET, XCB_GC_FILL_STYLE, XCB_GC_FONT, XCB_GC_FOREGROUND, XCB_GC_FUNCTION, XCB_GC_GRAPHICS_EXPOSURES, XCB_GC_JOIN_STYLE, XCB_GC_LINE_STYLE, XCB_GC_LINE_WIDTH, XCB_GC_PLANE_MASK, XCB_GC_STIPPLE, XCB_GC_SUBWINDOW_MODE, XCB_GC_TILE, XCB_GC_TILE_STIPPLE_ORIGIN_X, and XCB_GC_TILE_STIPPLE_ORIGIN_Y.

xcb_void_cookie_t xcb_free_pixmap_checked ( xcb_connection_t c,
xcb_pixmap_t  pixmap 
)

Destroys a pixmap.

Parameters
cThe connection
pixmapThe pixmap to destroy.
Returns
A cookie

Deletes the association between the pixmap ID and the pixmap. The pixmap storage will be freed when there are no more references to it.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_FREE_PIXMAP.

Return the iterator pointing to the last element

Parameters
iAn xcb_gcontext_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_gcontext_next ( xcb_gcontext_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_gcontext_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_gcontext_t)

xcb_get_atom_name_cookie_t xcb_get_atom_name ( xcb_connection_t c,
xcb_atom_t  atom 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_GET_ATOM_NAME.

xcb_get_atom_name_reply_t* xcb_get_atom_name_reply ( xcb_connection_t c,
xcb_get_atom_name_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_atom_name_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_atom_name_cookie_t xcb_get_atom_name_unchecked ( xcb_connection_t c,
xcb_atom_t  atom 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_GET_ATOM_NAME.

xcb_get_font_path_cookie_t xcb_get_font_path ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_GET_FONT_PATH.

xcb_get_font_path_reply_t* xcb_get_font_path_reply ( xcb_connection_t c,
xcb_get_font_path_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_font_path_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_font_path_cookie_t xcb_get_font_path_unchecked ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_GET_FONT_PATH.

xcb_get_geometry_cookie_t xcb_get_geometry ( xcb_connection_t c,
xcb_drawable_t  drawable 
)

Get current window geometry.

Parameters
cThe connection
drawableThe drawable (Window or Pixmap) of which the geometry will be received.
Returns
A cookie

Gets the current geometry of the specified drawable (either Window or Pixmap).

References XCB_GET_GEOMETRY.

xcb_get_geometry_reply_t* xcb_get_geometry_reply ( xcb_connection_t c,
xcb_get_geometry_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_geometry_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_geometry_cookie_t xcb_get_geometry_unchecked ( xcb_connection_t c,
xcb_drawable_t  drawable 
)

Get current window geometry.

Parameters
cThe connection
drawableThe drawable (Window or Pixmap) of which the geometry will be received.
Returns
A cookie

Gets the current geometry of the specified drawable (either Window or Pixmap).

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_GET_GEOMETRY.

xcb_get_image_cookie_t xcb_get_image ( xcb_connection_t c,
uint8_t  format,
xcb_drawable_t  drawable,
int16_t  x,
int16_t  y,
uint16_t  width,
uint16_t  height,
uint32_t  plane_mask 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_GET_IMAGE.

xcb_get_image_reply_t* xcb_get_image_reply ( xcb_connection_t c,
xcb_get_image_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_image_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_image_cookie_t xcb_get_image_unchecked ( xcb_connection_t c,
uint8_t  format,
xcb_drawable_t  drawable,
int16_t  x,
int16_t  y,
uint16_t  width,
uint16_t  height,
uint32_t  plane_mask 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_GET_IMAGE.

xcb_get_input_focus_cookie_t xcb_get_input_focus ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_GET_INPUT_FOCUS.

xcb_get_input_focus_reply_t* xcb_get_input_focus_reply ( xcb_connection_t c,
xcb_get_input_focus_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_input_focus_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_input_focus_cookie_t xcb_get_input_focus_unchecked ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_GET_INPUT_FOCUS.

xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_GET_KEYBOARD_CONTROL.

xcb_get_keyboard_control_reply_t* xcb_get_keyboard_control_reply ( xcb_connection_t c,
xcb_get_keyboard_control_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_keyboard_control_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control_unchecked ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_GET_KEYBOARD_CONTROL.

xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping ( xcb_connection_t c,
xcb_keycode_t  first_keycode,
uint8_t  count 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_GET_KEYBOARD_MAPPING.

xcb_get_keyboard_mapping_reply_t* xcb_get_keyboard_mapping_reply ( xcb_connection_t c,
xcb_get_keyboard_mapping_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_keyboard_mapping_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping_unchecked ( xcb_connection_t c,
xcb_keycode_t  first_keycode,
uint8_t  count 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_GET_KEYBOARD_MAPPING.

xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_GET_MODIFIER_MAPPING.

xcb_get_modifier_mapping_reply_t* xcb_get_modifier_mapping_reply ( xcb_connection_t c,
xcb_get_modifier_mapping_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_modifier_mapping_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping_unchecked ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_GET_MODIFIER_MAPPING.

xcb_get_motion_events_cookie_t xcb_get_motion_events ( xcb_connection_t c,
xcb_window_t  window,
xcb_timestamp_t  start,
xcb_timestamp_t  stop 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_GET_MOTION_EVENTS.

xcb_get_motion_events_reply_t* xcb_get_motion_events_reply ( xcb_connection_t c,
xcb_get_motion_events_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_motion_events_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_motion_events_cookie_t xcb_get_motion_events_unchecked ( xcb_connection_t c,
xcb_window_t  window,
xcb_timestamp_t  start,
xcb_timestamp_t  stop 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_GET_MOTION_EVENTS.

xcb_get_pointer_control_cookie_t xcb_get_pointer_control ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_GET_POINTER_CONTROL.

xcb_get_pointer_control_reply_t* xcb_get_pointer_control_reply ( xcb_connection_t c,
xcb_get_pointer_control_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_pointer_control_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_pointer_control_cookie_t xcb_get_pointer_control_unchecked ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_GET_POINTER_CONTROL.

xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_GET_POINTER_MAPPING.

xcb_get_pointer_mapping_reply_t* xcb_get_pointer_mapping_reply ( xcb_connection_t c,
xcb_get_pointer_mapping_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_pointer_mapping_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping_unchecked ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_GET_POINTER_MAPPING.

xcb_get_property_cookie_t xcb_get_property ( xcb_connection_t c,
uint8_t  _delete,
xcb_window_t  window,
xcb_atom_t  property,
xcb_atom_t  type,
uint32_t  long_offset,
uint32_t  long_length 
)

Gets a window property.

Parameters
cThe connection
_deleteWhether the property should actually be deleted. For deleting a property, the specified type has to match the actual property type.
windowThe window whose property you want to get.
propertyThe property you want to get (an atom).
typeThe type of the property you want to get (an atom).
long_offsetSpecifies the offset (in 32-bit multiples) in the specified property where the data is to be retrieved.
long_lengthSpecifies how many 32-bit multiples of data should be retrieved (e.g. if you set long_length to 4, you will receive 16 bytes of data).
Returns
A cookie

Gets the specified property from the specified window. Properties are for example the window title (WM_NAME) or its minimum size (WM_NORMAL_HINTS). Protocols such as EWMH also use properties - for example EWMH defines the window title, encoded as UTF-8 string, in the _NET_WM_NAME property.

TODO: talk about type

TODO: talk about delete

TODO: talk about the offset/length thing. what's a valid use case?

References XCB_GET_PROPERTY.

xcb_get_property_reply_t* xcb_get_property_reply ( xcb_connection_t c,
xcb_get_property_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_property_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_property_cookie_t xcb_get_property_unchecked ( xcb_connection_t c,
uint8_t  _delete,
xcb_window_t  window,
xcb_atom_t  property,
xcb_atom_t  type,
uint32_t  long_offset,
uint32_t  long_length 
)

Gets a window property.

Parameters
cThe connection
_deleteWhether the property should actually be deleted. For deleting a property, the specified type has to match the actual property type.
windowThe window whose property you want to get.
propertyThe property you want to get (an atom).
typeThe type of the property you want to get (an atom).
long_offsetSpecifies the offset (in 32-bit multiples) in the specified property where the data is to be retrieved.
long_lengthSpecifies how many 32-bit multiples of data should be retrieved (e.g. if you set long_length to 4, you will receive 16 bytes of data).
Returns
A cookie

Gets the specified property from the specified window. Properties are for example the window title (WM_NAME) or its minimum size (WM_NORMAL_HINTS). Protocols such as EWMH also use properties - for example EWMH defines the window title, encoded as UTF-8 string, in the _NET_WM_NAME property.

TODO: talk about type

TODO: talk about delete

TODO: talk about the offset/length thing. what's a valid use case?

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_GET_PROPERTY.

xcb_get_screen_saver_cookie_t xcb_get_screen_saver ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_GET_SCREEN_SAVER.

xcb_get_screen_saver_reply_t* xcb_get_screen_saver_reply ( xcb_connection_t c,
xcb_get_screen_saver_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_screen_saver_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_screen_saver_cookie_t xcb_get_screen_saver_unchecked ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_GET_SCREEN_SAVER.

xcb_get_selection_owner_cookie_t xcb_get_selection_owner ( xcb_connection_t c,
xcb_atom_t  selection 
)

Gets the owner of a selection.

Parameters
cThe connection
selectionThe selection.
Returns
A cookie

Gets the owner of the specified selection.

TODO: briefly explain what a selection is.

References XCB_GET_SELECTION_OWNER.

xcb_get_selection_owner_reply_t* xcb_get_selection_owner_reply ( xcb_connection_t c,
xcb_get_selection_owner_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_selection_owner_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_selection_owner_cookie_t xcb_get_selection_owner_unchecked ( xcb_connection_t c,
xcb_atom_t  selection 
)

Gets the owner of a selection.

Parameters
cThe connection
selectionThe selection.
Returns
A cookie

Gets the owner of the specified selection.

TODO: briefly explain what a selection is.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_GET_SELECTION_OWNER.

xcb_get_window_attributes_cookie_t xcb_get_window_attributes ( xcb_connection_t c,
xcb_window_t  window 
)

Gets window attributes.

Parameters
cThe connection
windowThe window to get the attributes from.
Returns
A cookie

Gets the current attributes for the specified window.

References XCB_GET_WINDOW_ATTRIBUTES.

xcb_get_window_attributes_reply_t* xcb_get_window_attributes_reply ( xcb_connection_t c,
xcb_get_window_attributes_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_get_window_attributes_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_get_window_attributes_cookie_t xcb_get_window_attributes_unchecked ( xcb_connection_t c,
xcb_window_t  window 
)

Gets window attributes.

Parameters
cThe connection
windowThe window to get the attributes from.
Returns
A cookie

Gets the current attributes for the specified window.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_GET_WINDOW_ATTRIBUTES.

xcb_void_cookie_t xcb_grab_button ( xcb_connection_t c,
uint8_t  owner_events,
xcb_window_t  grab_window,
uint16_t  event_mask,
uint8_t  pointer_mode,
uint8_t  keyboard_mode,
xcb_window_t  confine_to,
xcb_cursor_t  cursor,
uint8_t  button,
uint16_t  modifiers 
)

Grab pointer button(s)

Parameters
cThe connection
owner_eventsIf 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window.
grab_windowSpecifies the window on which the pointer should be grabbed.
event_maskSpecifies which pointer events are reported to the client.
TODO: which values?
pointer_modeA bitmask of xcb_grab_mode_t values.
pointer_mode
keyboard_modeA bitmask of xcb_grab_mode_t values.
keyboard_mode
confine_toSpecifies the window to confine the pointer in (the user will not be able to move the pointer out of that window).
The special value XCB_NONE means don't confine the pointer.
cursorSpecifies the cursor that should be displayed or XCB_NONE to not change the cursor.
buttonA bitmask of xcb_button_index_t values.
button
modifiersThe modifiers to grab.
Using the special value XCB_MOD_MASK_ANY means grab the pointer with all possible modifier combinations.
Returns
A cookie

This request establishes a passive grab. The pointer is actively grabbed as described in GrabPointer, the last-pointer-grab time is set to the time at which the button was pressed (as transmitted in the ButtonPress event), and the ButtonPress event is reported if all of the following conditions are true:

The pointer is not grabbed and the specified button is logically pressed when the specified modifier keys are logically down, and no other buttons or modifier keys are logically down.

The grab-window contains the pointer.

The confine-to window (if any) is viewable.

A passive grab on the same button/key combination does not exist on any ancestor of grab-window.

The interpretation of the remaining arguments is the same as for GrabPointer. The active grab is terminated automatically when the logical state of the pointer has all buttons released, independent of the logical state of modifier keys. Note that the logical state of a device (as seen by means of the protocol) may lag the physical state if device event processing is frozen. This request overrides all previous passive grabs by the same client on the same button/key combinations on the same window. A modifier of AnyModifier is equivalent to issuing the request for all possible modifier combinations (including the combination of no modifiers). It is not required that all specified modifiers have currently assigned keycodes. A button of AnyButton is equivalent to issuing the request for all possible buttons. Otherwise, it is not required that the button specified currently be assigned to a physical button.

An Access error is generated if some other client has already issued a GrabButton request with the same button/key combination on the same window. When using AnyModifier or AnyButton, the request fails completely (no grabs are established), and an Access error is generated if there is a conflicting grab for any combination. The request has no effect on an active grab.

References XCB_GRAB_BUTTON.

xcb_void_cookie_t xcb_grab_button_checked ( xcb_connection_t c,
uint8_t  owner_events,
xcb_window_t  grab_window,
uint16_t  event_mask,
uint8_t  pointer_mode,
uint8_t  keyboard_mode,
xcb_window_t  confine_to,
xcb_cursor_t  cursor,
uint8_t  button,
uint16_t  modifiers 
)

Grab pointer button(s)

Parameters
cThe connection
owner_eventsIf 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window.
grab_windowSpecifies the window on which the pointer should be grabbed.
event_maskSpecifies which pointer events are reported to the client.
TODO: which values?
pointer_modeA bitmask of xcb_grab_mode_t values.
pointer_mode
keyboard_modeA bitmask of xcb_grab_mode_t values.
keyboard_mode
confine_toSpecifies the window to confine the pointer in (the user will not be able to move the pointer out of that window).
The special value XCB_NONE means don't confine the pointer.
cursorSpecifies the cursor that should be displayed or XCB_NONE to not change the cursor.
buttonA bitmask of xcb_button_index_t values.
button
modifiersThe modifiers to grab.
Using the special value XCB_MOD_MASK_ANY means grab the pointer with all possible modifier combinations.
Returns
A cookie

This request establishes a passive grab. The pointer is actively grabbed as described in GrabPointer, the last-pointer-grab time is set to the time at which the button was pressed (as transmitted in the ButtonPress event), and the ButtonPress event is reported if all of the following conditions are true:

The pointer is not grabbed and the specified button is logically pressed when the specified modifier keys are logically down, and no other buttons or modifier keys are logically down.

The grab-window contains the pointer.

The confine-to window (if any) is viewable.

A passive grab on the same button/key combination does not exist on any ancestor of grab-window.

The interpretation of the remaining arguments is the same as for GrabPointer. The active grab is terminated automatically when the logical state of the pointer has all buttons released, independent of the logical state of modifier keys. Note that the logical state of a device (as seen by means of the protocol) may lag the physical state if device event processing is frozen. This request overrides all previous passive grabs by the same client on the same button/key combinations on the same window. A modifier of AnyModifier is equivalent to issuing the request for all possible modifier combinations (including the combination of no modifiers). It is not required that all specified modifiers have currently assigned keycodes. A button of AnyButton is equivalent to issuing the request for all possible buttons. Otherwise, it is not required that the button specified currently be assigned to a physical button.

An Access error is generated if some other client has already issued a GrabButton request with the same button/key combination on the same window. When using AnyModifier or AnyButton, the request fails completely (no grabs are established), and an Access error is generated if there is a conflicting grab for any combination. The request has no effect on an active grab.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_GRAB_BUTTON.

xcb_void_cookie_t xcb_grab_key ( xcb_connection_t c,
uint8_t  owner_events,
xcb_window_t  grab_window,
uint16_t  modifiers,
xcb_keycode_t  key,
uint8_t  pointer_mode,
uint8_t  keyboard_mode 
)

Grab keyboard key(s)

Parameters
cThe connection
owner_eventsIf 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window.
grab_windowSpecifies the window on which the pointer should be grabbed.
modifiersThe modifiers to grab.
Using the special value XCB_MOD_MASK_ANY means grab the pointer with all possible modifier combinations.
keyThe keycode of the key to grab.
The special value XCB_GRAB_ANY means grab any key.
pointer_modeA bitmask of xcb_grab_mode_t values.
pointer_mode
keyboard_modeA bitmask of xcb_grab_mode_t values.
keyboard_mode
Returns
A cookie

Establishes a passive grab on the keyboard. In the future, the keyboard is actively grabbed (as for GrabKeyboard), the last-keyboard-grab time is set to the time at which the key was pressed (as transmitted in the KeyPress event), and the KeyPress event is reported if all of the following conditions are true:

The keyboard is not grabbed and the specified key (which can itself be a modifier key) is logically pressed when the specified modifier keys are logically down, and no other modifier keys are logically down.

Either the grab_window is an ancestor of (or is) the focus window, or the grab_window is a descendant of the focus window and contains the pointer.

A passive grab on the same key combination does not exist on any ancestor of grab_window.

The interpretation of the remaining arguments is as for XGrabKeyboard. The active grab is terminated automatically when the logical state of the keyboard has the specified key released (independent of the logical state of the modifier keys), at which point a KeyRelease event is reported to the grabbing window.

Note that the logical state of a device (as seen by client applications) may lag the physical state if device event processing is frozen.

A modifiers argument of AnyModifier is equivalent to issuing the request for all possible modifier combinations (including the combination of no modifiers). It is not required that all modifiers specified have currently assigned KeyCodes. A keycode argument of AnyKey is equivalent to issuing the request for all possible KeyCodes. Otherwise, the specified keycode must be in the range specified by min_keycode and max_keycode in the connection setup, or a BadValue error results.

If some other client has issued a XGrabKey with the same key combination on the same window, a BadAccess error results. When using AnyModifier or AnyKey, the request fails completely, and a BadAccess error results (no grabs are established) if there is a conflicting grab for any combination.

References XCB_GRAB_KEY.

xcb_void_cookie_t xcb_grab_key_checked ( xcb_connection_t c,
uint8_t  owner_events,
xcb_window_t  grab_window,
uint16_t  modifiers,
xcb_keycode_t  key,
uint8_t  pointer_mode,
uint8_t  keyboard_mode 
)

Grab keyboard key(s)

Parameters
cThe connection
owner_eventsIf 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window.
grab_windowSpecifies the window on which the pointer should be grabbed.
modifiersThe modifiers to grab.
Using the special value XCB_MOD_MASK_ANY means grab the pointer with all possible modifier combinations.
keyThe keycode of the key to grab.
The special value XCB_GRAB_ANY means grab any key.
pointer_modeA bitmask of xcb_grab_mode_t values.
pointer_mode
keyboard_modeA bitmask of xcb_grab_mode_t values.
keyboard_mode
Returns
A cookie

Establishes a passive grab on the keyboard. In the future, the keyboard is actively grabbed (as for GrabKeyboard), the last-keyboard-grab time is set to the time at which the key was pressed (as transmitted in the KeyPress event), and the KeyPress event is reported if all of the following conditions are true:

The keyboard is not grabbed and the specified key (which can itself be a modifier key) is logically pressed when the specified modifier keys are logically down, and no other modifier keys are logically down.

Either the grab_window is an ancestor of (or is) the focus window, or the grab_window is a descendant of the focus window and contains the pointer.

A passive grab on the same key combination does not exist on any ancestor of grab_window.

The interpretation of the remaining arguments is as for XGrabKeyboard. The active grab is terminated automatically when the logical state of the keyboard has the specified key released (independent of the logical state of the modifier keys), at which point a KeyRelease event is reported to the grabbing window.

Note that the logical state of a device (as seen by client applications) may lag the physical state if device event processing is frozen.

A modifiers argument of AnyModifier is equivalent to issuing the request for all possible modifier combinations (including the combination of no modifiers). It is not required that all modifiers specified have currently assigned KeyCodes. A keycode argument of AnyKey is equivalent to issuing the request for all possible KeyCodes. Otherwise, the specified keycode must be in the range specified by min_keycode and max_keycode in the connection setup, or a BadValue error results.

If some other client has issued a XGrabKey with the same key combination on the same window, a BadAccess error results. When using AnyModifier or AnyKey, the request fails completely, and a BadAccess error results (no grabs are established) if there is a conflicting grab for any combination.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_GRAB_KEY.

xcb_grab_keyboard_cookie_t xcb_grab_keyboard ( xcb_connection_t c,
uint8_t  owner_events,
xcb_window_t  grab_window,
xcb_timestamp_t  time,
uint8_t  pointer_mode,
uint8_t  keyboard_mode 
)

Grab the keyboard.

Parameters
cThe connection
owner_eventsIf 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window.
grab_windowSpecifies the window on which the pointer should be grabbed.
timeTimestamp to avoid race conditions when running X over the network.
The special value XCB_CURRENT_TIME will be replaced with the current server time.
pointer_modeA bitmask of xcb_grab_mode_t values.
pointer_mode
keyboard_modeA bitmask of xcb_grab_mode_t values.
keyboard_mode
Returns
A cookie

Actively grabs control of the keyboard and generates FocusIn and FocusOut events. Further key events are reported only to the grabbing client.

Any active keyboard grab by this client is overridden. If the keyboard is actively grabbed by some other client, AlreadyGrabbed is returned. If grab_window is not viewable, GrabNotViewable is returned. If the keyboard is frozen by an active grab of another client, GrabFrozen is returned. If the specified time is earlier than the last-keyboard-grab time or later than the current X server time, GrabInvalidTime is returned. Otherwise, the last-keyboard-grab time is set to the specified time.

References XCB_GRAB_KEYBOARD.

xcb_grab_keyboard_reply_t* xcb_grab_keyboard_reply ( xcb_connection_t c,
xcb_grab_keyboard_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_grab_keyboard_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_grab_keyboard_cookie_t xcb_grab_keyboard_unchecked ( xcb_connection_t c,
uint8_t  owner_events,
xcb_window_t  grab_window,
xcb_timestamp_t  time,
uint8_t  pointer_mode,
uint8_t  keyboard_mode 
)

Grab the keyboard.

Parameters
cThe connection
owner_eventsIf 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window.
grab_windowSpecifies the window on which the pointer should be grabbed.
timeTimestamp to avoid race conditions when running X over the network.
The special value XCB_CURRENT_TIME will be replaced with the current server time.
pointer_modeA bitmask of xcb_grab_mode_t values.
pointer_mode
keyboard_modeA bitmask of xcb_grab_mode_t values.
keyboard_mode
Returns
A cookie

Actively grabs control of the keyboard and generates FocusIn and FocusOut events. Further key events are reported only to the grabbing client.

Any active keyboard grab by this client is overridden. If the keyboard is actively grabbed by some other client, AlreadyGrabbed is returned. If grab_window is not viewable, GrabNotViewable is returned. If the keyboard is frozen by an active grab of another client, GrabFrozen is returned. If the specified time is earlier than the last-keyboard-grab time or later than the current X server time, GrabInvalidTime is returned. Otherwise, the last-keyboard-grab time is set to the specified time.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_GRAB_KEYBOARD.

xcb_grab_pointer_cookie_t xcb_grab_pointer ( xcb_connection_t c,
uint8_t  owner_events,
xcb_window_t  grab_window,
uint16_t  event_mask,
uint8_t  pointer_mode,
uint8_t  keyboard_mode,
xcb_window_t  confine_to,
xcb_cursor_t  cursor,
xcb_timestamp_t  time 
)

Grab the pointer.

Parameters
cThe connection
owner_eventsIf 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window.
grab_windowSpecifies the window on which the pointer should be grabbed.
event_maskSpecifies which pointer events are reported to the client.
TODO: which values?
pointer_modeA bitmask of xcb_grab_mode_t values.
pointer_mode
keyboard_modeA bitmask of xcb_grab_mode_t values.
keyboard_mode
confine_toSpecifies the window to confine the pointer in (the user will not be able to move the pointer out of that window).
The special value XCB_NONE means don't confine the pointer.
cursorSpecifies the cursor that should be displayed or XCB_NONE to not change the cursor.
timeThe time argument allows you to avoid certain circumstances that come up if applications take a long time to respond or if there are long network delays. Consider a situation where you have two applications, both of which normally grab the pointer when clicked on. If both applications specify the timestamp from the event, the second application may wake up faster and successfully grab the pointer before the first application. The first application then will get an indication that the other application grabbed the pointer before its request was processed.
The special value XCB_CURRENT_TIME will be replaced with the current server time.
Returns
A cookie

Actively grabs control of the pointer. Further pointer events are reported only to the grabbing client. Overrides any active pointer grab by this client.

References XCB_GRAB_POINTER.

xcb_grab_pointer_reply_t* xcb_grab_pointer_reply ( xcb_connection_t c,
xcb_grab_pointer_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_grab_pointer_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_grab_pointer_cookie_t xcb_grab_pointer_unchecked ( xcb_connection_t c,
uint8_t  owner_events,
xcb_window_t  grab_window,
uint16_t  event_mask,
uint8_t  pointer_mode,
uint8_t  keyboard_mode,
xcb_window_t  confine_to,
xcb_cursor_t  cursor,
xcb_timestamp_t  time 
)

Grab the pointer.

Parameters
cThe connection
owner_eventsIf 1, the grab_window will still get the pointer events. If 0, events are not reported to the grab_window.
grab_windowSpecifies the window on which the pointer should be grabbed.
event_maskSpecifies which pointer events are reported to the client.
TODO: which values?
pointer_modeA bitmask of xcb_grab_mode_t values.
pointer_mode
keyboard_modeA bitmask of xcb_grab_mode_t values.
keyboard_mode
confine_toSpecifies the window to confine the pointer in (the user will not be able to move the pointer out of that window).
The special value XCB_NONE means don't confine the pointer.
cursorSpecifies the cursor that should be displayed or XCB_NONE to not change the cursor.
timeThe time argument allows you to avoid certain circumstances that come up if applications take a long time to respond or if there are long network delays. Consider a situation where you have two applications, both of which normally grab the pointer when clicked on. If both applications specify the timestamp from the event, the second application may wake up faster and successfully grab the pointer before the first application. The first application then will get an indication that the other application grabbed the pointer before its request was processed.
The special value XCB_CURRENT_TIME will be replaced with the current server time.
Returns
A cookie

Actively grabs control of the pointer. Further pointer events are reported only to the grabbing client. Overrides any active pointer grab by this client.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_GRAB_POINTER.

xcb_void_cookie_t xcb_grab_server ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_GRAB_SERVER.

xcb_void_cookie_t xcb_grab_server_checked ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_GRAB_SERVER.

Return the iterator pointing to the last element

Parameters
iAn xcb_host_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_host_next().

void xcb_host_next ( xcb_host_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_host_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_host_t)

References xcb_generic_iterator_t::data.

Referenced by xcb_host_end().

xcb_void_cookie_t xcb_image_text_16 ( xcb_connection_t c,
uint8_t  string_len,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
int16_t  x,
int16_t  y,
const xcb_char2b_t string 
)

Draws text.

Parameters
cThe connection
string_lenThe length of the string in characters. Note that this parameter limited by 255 due to using 8 bits!
drawableThe drawable (Window or Pixmap) to draw text on.
gcThe graphics context to use.
The following graphics context components are used: plane-mask, foreground, background, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask.
xThe x coordinate of the first character, relative to the origin of drawable.
yThe y coordinate of the first character, relative to the origin of drawable.
stringThe string to draw. Only the first 255 characters are relevant due to the data type of string_len. Every character uses 2 bytes (hence the 16 in this request's name).
Returns
A cookie

Fills the destination rectangle with the background pixel from gc, then paints the text with the foreground pixel from gc. The upper-left corner of the filled rectangle is at [x, y - font-ascent]. The width is overall-width, the height is font-ascent + font-descent. The overall-width, font-ascent and font-descent are as returned by xcb_query_text_extents (TODO).

Note that using X core fonts is deprecated (but still supported) in favor of client-side rendering using Xft.

References XCB_IMAGE_TEXT_16.

xcb_void_cookie_t xcb_image_text_16_checked ( xcb_connection_t c,
uint8_t  string_len,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
int16_t  x,
int16_t  y,
const xcb_char2b_t string 
)

Draws text.

Parameters
cThe connection
string_lenThe length of the string in characters. Note that this parameter limited by 255 due to using 8 bits!
drawableThe drawable (Window or Pixmap) to draw text on.
gcThe graphics context to use.
The following graphics context components are used: plane-mask, foreground, background, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask.
xThe x coordinate of the first character, relative to the origin of drawable.
yThe y coordinate of the first character, relative to the origin of drawable.
stringThe string to draw. Only the first 255 characters are relevant due to the data type of string_len. Every character uses 2 bytes (hence the 16 in this request's name).
Returns
A cookie

Fills the destination rectangle with the background pixel from gc, then paints the text with the foreground pixel from gc. The upper-left corner of the filled rectangle is at [x, y - font-ascent]. The width is overall-width, the height is font-ascent + font-descent. The overall-width, font-ascent and font-descent are as returned by xcb_query_text_extents (TODO).

Note that using X core fonts is deprecated (but still supported) in favor of client-side rendering using Xft.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_IMAGE_TEXT_16.

xcb_void_cookie_t xcb_image_text_8 ( xcb_connection_t c,
uint8_t  string_len,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
int16_t  x,
int16_t  y,
const char *  string 
)

Draws text.

Parameters
cThe connection
string_lenThe length of the string. Note that this parameter limited by 255 due to using 8 bits!
drawableThe drawable (Window or Pixmap) to draw text on.
gcThe graphics context to use.
The following graphics context components are used: plane-mask, foreground, background, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask.
xThe x coordinate of the first character, relative to the origin of drawable.
yThe y coordinate of the first character, relative to the origin of drawable.
stringThe string to draw. Only the first 255 characters are relevant due to the data type of string_len.
Returns
A cookie

Fills the destination rectangle with the background pixel from gc, then paints the text with the foreground pixel from gc. The upper-left corner of the filled rectangle is at [x, y - font-ascent]. The width is overall-width, the height is font-ascent + font-descent. The overall-width, font-ascent and font-descent are as returned by xcb_query_text_extents (TODO).

Note that using X core fonts is deprecated (but still supported) in favor of client-side rendering using Xft.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_IMAGE_TEXT_8.

xcb_void_cookie_t xcb_image_text_8_checked ( xcb_connection_t c,
uint8_t  string_len,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
int16_t  x,
int16_t  y,
const char *  string 
)

Draws text.

Parameters
cThe connection
string_lenThe length of the string. Note that this parameter limited by 255 due to using 8 bits!
drawableThe drawable (Window or Pixmap) to draw text on.
gcThe graphics context to use.
The following graphics context components are used: plane-mask, foreground, background, font, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask.
xThe x coordinate of the first character, relative to the origin of drawable.
yThe y coordinate of the first character, relative to the origin of drawable.
stringThe string to draw. Only the first 255 characters are relevant due to the data type of string_len.
Returns
A cookie

Fills the destination rectangle with the background pixel from gc, then paints the text with the foreground pixel from gc. The upper-left corner of the filled rectangle is at [x, y - font-ascent]. The width is overall-width, the height is font-ascent + font-descent. The overall-width, font-ascent and font-descent are as returned by xcb_query_text_extents (TODO).

Note that using X core fonts is deprecated (but still supported) in favor of client-side rendering using Xft.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_IMAGE_TEXT_8.

xcb_void_cookie_t xcb_install_colormap ( xcb_connection_t c,
xcb_colormap_t  cmap 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_INSTALL_COLORMAP.

xcb_void_cookie_t xcb_install_colormap_checked ( xcb_connection_t c,
xcb_colormap_t  cmap 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_INSTALL_COLORMAP.

xcb_intern_atom_cookie_t xcb_intern_atom ( xcb_connection_t c,
uint8_t  only_if_exists,
uint16_t  name_len,
const char *  name 
)

Get atom identifier by name.

Parameters
cThe connection
only_if_existsReturn a valid atom id only if the atom already exists.
name_lenThe length of the following name.
nameThe name of the atom.
Returns
A cookie

Retrieves the identifier (xcb_atom_t TODO) for the atom with the specified name. Atoms are used in protocols like EWMH, for example to store window titles (_NET_WM_NAME atom) as property of a window.

If only_if_exists is 0, the atom will be created if it does not already exist. If only_if_exists is 1, XCB_ATOM_NONE will be returned if the atom does not yet exist.

References XCB_INTERN_ATOM.

xcb_intern_atom_reply_t* xcb_intern_atom_reply ( xcb_connection_t c,
xcb_intern_atom_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_intern_atom_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_intern_atom_cookie_t xcb_intern_atom_unchecked ( xcb_connection_t c,
uint8_t  only_if_exists,
uint16_t  name_len,
const char *  name 
)

Get atom identifier by name.

Parameters
cThe connection
only_if_existsReturn a valid atom id only if the atom already exists.
name_lenThe length of the following name.
nameThe name of the atom.
Returns
A cookie

Retrieves the identifier (xcb_atom_t TODO) for the atom with the specified name. Atoms are used in protocols like EWMH, for example to store window titles (_NET_WM_NAME atom) as property of a window.

If only_if_exists is 0, the atom will be created if it does not already exist. If only_if_exists is 1, XCB_ATOM_NONE will be returned if the atom does not yet exist.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_INTERN_ATOM.

Return the iterator pointing to the last element

Parameters
iAn xcb_keycode32_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_keycode32_next ( xcb_keycode32_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_keycode32_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_keycode32_t)

Return the iterator pointing to the last element

Parameters
iAn xcb_keycode_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_keycode_next ( xcb_keycode_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_keycode_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_keycode_t)

Return the iterator pointing to the last element

Parameters
iAn xcb_keysym_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_keysym_next ( xcb_keysym_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_keysym_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_keysym_t)

xcb_void_cookie_t xcb_kill_client ( xcb_connection_t c,
uint32_t  resource 
)

kills a client

Parameters
cThe connection
resourceAny resource belonging to the client (for example a Window), used to identify the client connection.
The special value of XCB_KILL_ALL_TEMPORARY, the resources of all clients that have terminated in RetainTemporary (TODO) are destroyed.
Returns
A cookie

Forces a close down of the client that created the specified resource.

References XCB_KILL_CLIENT.

xcb_void_cookie_t xcb_kill_client_checked ( xcb_connection_t c,
uint32_t  resource 
)

kills a client

Parameters
cThe connection
resourceAny resource belonging to the client (for example a Window), used to identify the client connection.
The special value of XCB_KILL_ALL_TEMPORARY, the resources of all clients that have terminated in RetainTemporary (TODO) are destroyed.
Returns
A cookie

Forces a close down of the client that created the specified resource.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_KILL_CLIENT.

xcb_list_extensions_cookie_t xcb_list_extensions ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_LIST_EXTENSIONS.

xcb_list_extensions_reply_t* xcb_list_extensions_reply ( xcb_connection_t c,
xcb_list_extensions_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_list_extensions_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_list_extensions_cookie_t xcb_list_extensions_unchecked ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_LIST_EXTENSIONS.

xcb_list_fonts_cookie_t xcb_list_fonts ( xcb_connection_t c,
uint16_t  max_names,
uint16_t  pattern_len,
const char *  pattern 
)

get matching font names

Parameters
cThe connection
max_namesThe maximum number of fonts to be returned.
pattern_lenThe length (in bytes) of pattern.
patternA font pattern, for example "-misc-fixed-*".
The asterisk (*) is a wildcard for any number of characters. The question mark (?) is a wildcard for a single character. Use of uppercase or lowercase does not matter.
Returns
A cookie

Gets a list of available font names which match the given pattern.

References XCB_LIST_FONTS.

xcb_list_fonts_reply_t* xcb_list_fonts_reply ( xcb_connection_t c,
xcb_list_fonts_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_list_fonts_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_list_fonts_cookie_t xcb_list_fonts_unchecked ( xcb_connection_t c,
uint16_t  max_names,
uint16_t  pattern_len,
const char *  pattern 
)

get matching font names

Parameters
cThe connection
max_namesThe maximum number of fonts to be returned.
pattern_lenThe length (in bytes) of pattern.
patternA font pattern, for example "-misc-fixed-*".
The asterisk (*) is a wildcard for any number of characters. The question mark (?) is a wildcard for a single character. Use of uppercase or lowercase does not matter.
Returns
A cookie

Gets a list of available font names which match the given pattern.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_LIST_FONTS.

xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info ( xcb_connection_t c,
uint16_t  max_names,
uint16_t  pattern_len,
const char *  pattern 
)

get matching font names and information

Parameters
cThe connection
max_namesThe maximum number of fonts to be returned.
pattern_lenThe length (in bytes) of pattern.
patternA font pattern, for example "-misc-fixed-*".
The asterisk (*) is a wildcard for any number of characters. The question mark (?) is a wildcard for a single character. Use of uppercase or lowercase does not matter.
Returns
A cookie

Gets a list of available font names which match the given pattern.

References XCB_LIST_FONTS_WITH_INFO.

xcb_list_fonts_with_info_reply_t* xcb_list_fonts_with_info_reply ( xcb_connection_t c,
xcb_list_fonts_with_info_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_list_fonts_with_info_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info_unchecked ( xcb_connection_t c,
uint16_t  max_names,
uint16_t  pattern_len,
const char *  pattern 
)

get matching font names and information

Parameters
cThe connection
max_namesThe maximum number of fonts to be returned.
pattern_lenThe length (in bytes) of pattern.
patternA font pattern, for example "-misc-fixed-*".
The asterisk (*) is a wildcard for any number of characters. The question mark (?) is a wildcard for a single character. Use of uppercase or lowercase does not matter.
Returns
A cookie

Gets a list of available font names which match the given pattern.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, xcb_fontprop_end(), and XCB_LIST_FONTS_WITH_INFO.

xcb_list_hosts_cookie_t xcb_list_hosts ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_LIST_HOSTS.

xcb_list_hosts_reply_t* xcb_list_hosts_reply ( xcb_connection_t c,
xcb_list_hosts_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_list_hosts_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_list_hosts_cookie_t xcb_list_hosts_unchecked ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_LIST_HOSTS.

xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps ( xcb_connection_t c,
xcb_window_t  window 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_LIST_INSTALLED_COLORMAPS.

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_list_installed_colormaps_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps_unchecked ( xcb_connection_t c,
xcb_window_t  window 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_LIST_INSTALLED_COLORMAPS.

xcb_list_properties_cookie_t xcb_list_properties ( xcb_connection_t c,
xcb_window_t  window 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_LIST_PROPERTIES.

xcb_list_properties_reply_t* xcb_list_properties_reply ( xcb_connection_t c,
xcb_list_properties_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_list_properties_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_list_properties_cookie_t xcb_list_properties_unchecked ( xcb_connection_t c,
xcb_window_t  window 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_LIST_PROPERTIES.

xcb_lookup_color_cookie_t xcb_lookup_color ( xcb_connection_t c,
xcb_colormap_t  cmap,
uint16_t  name_len,
const char *  name 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_LOOKUP_COLOR.

xcb_lookup_color_reply_t* xcb_lookup_color_reply ( xcb_connection_t c,
xcb_lookup_color_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_lookup_color_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_lookup_color_cookie_t xcb_lookup_color_unchecked ( xcb_connection_t c,
xcb_colormap_t  cmap,
uint16_t  name_len,
const char *  name 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_LOOKUP_COLOR.

xcb_void_cookie_t xcb_map_subwindows ( xcb_connection_t c,
xcb_window_t  window 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_MAP_SUBWINDOWS.

xcb_void_cookie_t xcb_map_subwindows_checked ( xcb_connection_t c,
xcb_window_t  window 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_MAP_SUBWINDOWS.

xcb_void_cookie_t xcb_map_window ( xcb_connection_t c,
xcb_window_t  window 
)

Makes a window visible.

Parameters
cThe connection
windowThe window to make visible.
Returns
A cookie

Maps the specified window. This means making the window visible (as long as its parent is visible).

This MapWindow request will be translated to a MapRequest request if a window manager is running. The window manager then decides to either map the window or not. Set the override-redirect window attribute to true if you want to bypass this mechanism.

If the window manager decides to map the window (or if no window manager is running), a MapNotify event is generated.

If the window becomes viewable and no earlier contents for it are remembered, the X server tiles the window with its background. If the window's background is undefined, the existing screen contents are not altered, and the X server generates zero or more Expose events.

If the window type is InputOutput, an Expose event will be generated when the window becomes visible. The normal response to an Expose event should be to repaint the window.

References XCB_MAP_WINDOW.

xcb_void_cookie_t xcb_map_window_checked ( xcb_connection_t c,
xcb_window_t  window 
)

Makes a window visible.

Parameters
cThe connection
windowThe window to make visible.
Returns
A cookie

Maps the specified window. This means making the window visible (as long as its parent is visible).

This MapWindow request will be translated to a MapRequest request if a window manager is running. The window manager then decides to either map the window or not. Set the override-redirect window attribute to true if you want to bypass this mechanism.

If the window manager decides to map the window (or if no window manager is running), a MapNotify event is generated.

If the window becomes viewable and no earlier contents for it are remembered, the X server tiles the window with its background. If the window's background is undefined, the existing screen contents are not altered, and the X server generates zero or more Expose events.

If the window type is InputOutput, an Expose event will be generated when the window becomes visible. The normal response to an Expose event should be to repaint the window.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_MAP_WINDOW.

xcb_void_cookie_t xcb_no_operation ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_NO_OPERATION.

xcb_void_cookie_t xcb_no_operation_checked ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_NO_OPERATION.

xcb_void_cookie_t xcb_open_font ( xcb_connection_t c,
xcb_font_t  fid,
uint16_t  name_len,
const char *  name 
)

opens a font

Parameters
cThe connection
fidThe ID with which you will refer to the font, created by xcb_generate_id.
name_lenLength (in bytes) of name.
nameA pattern describing an X core font.
Returns
A cookie

Opens any X core font matching the given name (for example "-misc-fixed-*").

Note that X core fonts are deprecated (but still supported) in favor of client-side rendering using Xft.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_OPEN_FONT.

xcb_void_cookie_t xcb_open_font_checked ( xcb_connection_t c,
xcb_font_t  fid,
uint16_t  name_len,
const char *  name 
)

opens a font

Parameters
cThe connection
fidThe ID with which you will refer to the font, created by xcb_generate_id.
name_lenLength (in bytes) of name.
nameA pattern describing an X core font.
Returns
A cookie

Opens any X core font matching the given name (for example "-misc-fixed-*").

Note that X core fonts are deprecated (but still supported) in favor of client-side rendering using Xft.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_OPEN_FONT.

Return the iterator pointing to the last element

Parameters
iAn xcb_pixmap_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_pixmap_next ( xcb_pixmap_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_pixmap_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_pixmap_t)

Return the iterator pointing to the last element

Parameters
iAn xcb_point_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_point_next ( xcb_point_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_point_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_point_t)

xcb_void_cookie_t xcb_poly_arc ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint32_t  arcs_len,
const xcb_arc_t arcs 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_POLY_ARC.

xcb_void_cookie_t xcb_poly_arc_checked ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint32_t  arcs_len,
const xcb_arc_t arcs 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_POLY_ARC.

xcb_void_cookie_t xcb_poly_fill_arc ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint32_t  arcs_len,
const xcb_arc_t arcs 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_POLY_FILL_ARC.

xcb_void_cookie_t xcb_poly_fill_arc_checked ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint32_t  arcs_len,
const xcb_arc_t arcs 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_POLY_FILL_ARC.

xcb_void_cookie_t xcb_poly_fill_rectangle ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint32_t  rectangles_len,
const xcb_rectangle_t rectangles 
)

Fills rectangles.

Parameters
cThe connection
drawableThe drawable (Window or Pixmap) to draw on.
gcThe graphics context to use.
The following graphics context components are used: function, plane-mask, fill-style, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask.
The following graphics context mode-dependent components are used: foreground, background, tile, stipple, tile-stipple-x-origin, and tile-stipple-y-origin.
rectangles_lenThe number of xcb_rectangle_t structures in rectangles.
rectanglesThe rectangles to fill.
Returns
A cookie

Fills the specified rectangle(s) in the order listed in the array. For any given rectangle, each pixel is not drawn more than once. If rectangles intersect, the intersecting pixels are drawn multiple times.

References XCB_POLY_FILL_RECTANGLE.

xcb_void_cookie_t xcb_poly_fill_rectangle_checked ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint32_t  rectangles_len,
const xcb_rectangle_t rectangles 
)

Fills rectangles.

Parameters
cThe connection
drawableThe drawable (Window or Pixmap) to draw on.
gcThe graphics context to use.
The following graphics context components are used: function, plane-mask, fill-style, subwindow-mode, clip-x-origin, clip-y-origin, and clip-mask.
The following graphics context mode-dependent components are used: foreground, background, tile, stipple, tile-stipple-x-origin, and tile-stipple-y-origin.
rectangles_lenThe number of xcb_rectangle_t structures in rectangles.
rectanglesThe rectangles to fill.
Returns
A cookie

Fills the specified rectangle(s) in the order listed in the array. For any given rectangle, each pixel is not drawn more than once. If rectangles intersect, the intersecting pixels are drawn multiple times.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_POLY_FILL_RECTANGLE.

xcb_void_cookie_t xcb_poly_line ( xcb_connection_t c,
uint8_t  coordinate_mode,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint32_t  points_len,
const xcb_point_t points 
)

draw lines

Parameters
cThe connection
coordinate_modeA bitmask of xcb_coord_mode_t values.
coordinate_mode
drawableThe drawable to draw the line(s) on.
gcThe graphics context to use.
points_lenThe number of xcb_point_t structures in points.
pointsAn array of points.
Returns
A cookie

Draws points_len-1 lines between each pair of points (point[i], point[i+1]) in the points array. The lines are drawn in the order listed in the array. They join correctly at all intermediate points, and if the first and last points coincide, the first and last lines also join correctly. For any given line, a pixel is not drawn more than once. If thin (zero line-width) lines intersect, the intersecting pixels are drawn multiple times. If wide lines intersect, the intersecting pixels are drawn only once, as though the entire request were a single, filled shape.

References XCB_POLY_LINE.

xcb_void_cookie_t xcb_poly_line_checked ( xcb_connection_t c,
uint8_t  coordinate_mode,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint32_t  points_len,
const xcb_point_t points 
)

draw lines

Parameters
cThe connection
coordinate_modeA bitmask of xcb_coord_mode_t values.
coordinate_mode
drawableThe drawable to draw the line(s) on.
gcThe graphics context to use.
points_lenThe number of xcb_point_t structures in points.
pointsAn array of points.
Returns
A cookie

Draws points_len-1 lines between each pair of points (point[i], point[i+1]) in the points array. The lines are drawn in the order listed in the array. They join correctly at all intermediate points, and if the first and last points coincide, the first and last lines also join correctly. For any given line, a pixel is not drawn more than once. If thin (zero line-width) lines intersect, the intersecting pixels are drawn multiple times. If wide lines intersect, the intersecting pixels are drawn only once, as though the entire request were a single, filled shape.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_POLY_LINE.

xcb_void_cookie_t xcb_poly_point ( xcb_connection_t c,
uint8_t  coordinate_mode,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint32_t  points_len,
const xcb_point_t points 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_POLY_POINT.

xcb_void_cookie_t xcb_poly_point_checked ( xcb_connection_t c,
uint8_t  coordinate_mode,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint32_t  points_len,
const xcb_point_t points 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_POLY_POINT.

xcb_void_cookie_t xcb_poly_rectangle ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint32_t  rectangles_len,
const xcb_rectangle_t rectangles 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_POLY_RECTANGLE.

xcb_void_cookie_t xcb_poly_rectangle_checked ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint32_t  rectangles_len,
const xcb_rectangle_t rectangles 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_POLY_RECTANGLE.

xcb_void_cookie_t xcb_poly_segment ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint32_t  segments_len,
const xcb_segment_t segments 
)

draw lines

Parameters
cThe connection
drawableA drawable (Window or Pixmap) to draw on.
gcThe graphics context to use.
TODO: document which attributes of a gc are used
segments_lenThe number of xcb_segment_t structures in segments.
segmentsAn array of xcb_segment_t structures.
Returns
A cookie

Draws multiple, unconnected lines. For each segment, a line is drawn between (x1, y1) and (x2, y2). The lines are drawn in the order listed in the array of xcb_segment_t structures and does not perform joining at coincident endpoints. For any given line, a pixel is not drawn more than once. If lines intersect, the intersecting pixels are drawn multiple times.

TODO: include the xcb_segment_t data structure

TODO: an example

References XCB_POLY_SEGMENT.

xcb_void_cookie_t xcb_poly_segment_checked ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint32_t  segments_len,
const xcb_segment_t segments 
)

draw lines

Parameters
cThe connection
drawableA drawable (Window or Pixmap) to draw on.
gcThe graphics context to use.
TODO: document which attributes of a gc are used
segments_lenThe number of xcb_segment_t structures in segments.
segmentsAn array of xcb_segment_t structures.
Returns
A cookie

Draws multiple, unconnected lines. For each segment, a line is drawn between (x1, y1) and (x2, y2). The lines are drawn in the order listed in the array of xcb_segment_t structures and does not perform joining at coincident endpoints. For any given line, a pixel is not drawn more than once. If lines intersect, the intersecting pixels are drawn multiple times.

TODO: include the xcb_segment_t data structure

TODO: an example

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_POLY_SEGMENT.

xcb_void_cookie_t xcb_poly_text_16 ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
int16_t  x,
int16_t  y,
uint32_t  items_len,
const uint8_t *  items 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_POLY_TEXT_16.

xcb_void_cookie_t xcb_poly_text_16_checked ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
int16_t  x,
int16_t  y,
uint32_t  items_len,
const uint8_t *  items 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_POLY_TEXT_16.

xcb_void_cookie_t xcb_poly_text_8 ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
int16_t  x,
int16_t  y,
uint32_t  items_len,
const uint8_t *  items 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_POLY_TEXT_8.

xcb_void_cookie_t xcb_poly_text_8_checked ( xcb_connection_t c,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
int16_t  x,
int16_t  y,
uint32_t  items_len,
const uint8_t *  items 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_POLY_TEXT_8.

xcb_void_cookie_t xcb_put_image ( xcb_connection_t c,
uint8_t  format,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint16_t  width,
uint16_t  height,
int16_t  dst_x,
int16_t  dst_y,
uint8_t  left_pad,
uint8_t  depth,
uint32_t  data_len,
const uint8_t *  data 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_PUT_IMAGE.

xcb_void_cookie_t xcb_put_image_checked ( xcb_connection_t c,
uint8_t  format,
xcb_drawable_t  drawable,
xcb_gcontext_t  gc,
uint16_t  width,
uint16_t  height,
int16_t  dst_x,
int16_t  dst_y,
uint8_t  left_pad,
uint8_t  depth,
uint32_t  data_len,
const uint8_t *  data 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_PUT_IMAGE.

xcb_query_best_size_cookie_t xcb_query_best_size ( xcb_connection_t c,
uint8_t  _class,
xcb_drawable_t  drawable,
uint16_t  width,
uint16_t  height 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_QUERY_BEST_SIZE.

xcb_query_best_size_reply_t* xcb_query_best_size_reply ( xcb_connection_t c,
xcb_query_best_size_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_query_best_size_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_query_best_size_cookie_t xcb_query_best_size_unchecked ( xcb_connection_t c,
uint8_t  _class,
xcb_drawable_t  drawable,
uint16_t  width,
uint16_t  height 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_QUERY_BEST_SIZE.

xcb_query_colors_cookie_t xcb_query_colors ( xcb_connection_t c,
xcb_colormap_t  cmap,
uint32_t  pixels_len,
const uint32_t *  pixels 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_QUERY_COLORS.

xcb_query_colors_reply_t* xcb_query_colors_reply ( xcb_connection_t c,
xcb_query_colors_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_query_colors_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_query_colors_cookie_t xcb_query_colors_unchecked ( xcb_connection_t c,
xcb_colormap_t  cmap,
uint32_t  pixels_len,
const uint32_t *  pixels 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_QUERY_COLORS.

xcb_query_extension_cookie_t xcb_query_extension ( xcb_connection_t c,
uint16_t  name_len,
const char *  name 
)

check if extension is present

Parameters
cThe connection
name_lenThe length of name in bytes.
nameThe name of the extension to query, for example "RANDR". This is case sensitive!
Returns
A cookie

Determines if the specified extension is present on this X11 server.

Every extension has a unique major_opcode to identify requests, the minor opcodes and request formats are extension-specific. If the extension provides events and errors, the first_event and first_error fields in the reply are set accordingly.

There should rarely be a need to use this request directly, XCB provides the xcb_get_extension_data function instead.

References XCB_QUERY_EXTENSION.

xcb_query_extension_reply_t* xcb_query_extension_reply ( xcb_connection_t c,
xcb_query_extension_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_query_extension_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

Referenced by xcb_get_extension_data().

xcb_query_extension_cookie_t xcb_query_extension_unchecked ( xcb_connection_t c,
uint16_t  name_len,
const char *  name 
)

check if extension is present

Parameters
cThe connection
name_lenThe length of name in bytes.
nameThe name of the extension to query, for example "RANDR". This is case sensitive!
Returns
A cookie

Determines if the specified extension is present on this X11 server.

Every extension has a unique major_opcode to identify requests, the minor opcodes and request formats are extension-specific. If the extension provides events and errors, the first_event and first_error fields in the reply are set accordingly.

There should rarely be a need to use this request directly, XCB provides the xcb_get_extension_data function instead.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_QUERY_EXTENSION.

xcb_query_font_cookie_t xcb_query_font ( xcb_connection_t c,
xcb_fontable_t  font 
)

query font metrics

Parameters
cThe connection
fontThe fontable (Font or Graphics Context) to query.
Returns
A cookie

Queries information associated with the font.

References XCB_QUERY_FONT.

xcb_query_font_reply_t* xcb_query_font_reply ( xcb_connection_t c,
xcb_query_font_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_query_font_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_query_font_cookie_t xcb_query_font_unchecked ( xcb_connection_t c,
xcb_fontable_t  font 
)

query font metrics

Parameters
cThe connection
fontThe fontable (Font or Graphics Context) to query.
Returns
A cookie

Queries information associated with the font.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_fontprop_end(), and XCB_QUERY_FONT.

xcb_query_keymap_cookie_t xcb_query_keymap ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_QUERY_KEYMAP.

xcb_query_keymap_reply_t* xcb_query_keymap_reply ( xcb_connection_t c,
xcb_query_keymap_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_query_keymap_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_query_keymap_cookie_t xcb_query_keymap_unchecked ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_QUERY_KEYMAP.

xcb_query_pointer_cookie_t xcb_query_pointer ( xcb_connection_t c,
xcb_window_t  window 
)

get pointer coordinates

Parameters
cThe connection
windowA window to check if the pointer is on the same screen as window (see the same_screen field in the reply).
Returns
A cookie

Gets the root window the pointer is logically on and the pointer coordinates relative to the root window's origin.

References XCB_QUERY_POINTER.

xcb_query_pointer_reply_t* xcb_query_pointer_reply ( xcb_connection_t c,
xcb_query_pointer_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_query_pointer_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_query_pointer_cookie_t xcb_query_pointer_unchecked ( xcb_connection_t c,
xcb_window_t  window 
)

get pointer coordinates

Parameters
cThe connection
windowA window to check if the pointer is on the same screen as window (see the same_screen field in the reply).
Returns
A cookie

Gets the root window the pointer is logically on and the pointer coordinates relative to the root window's origin.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_QUERY_POINTER.

xcb_query_text_extents_cookie_t xcb_query_text_extents ( xcb_connection_t c,
xcb_fontable_t  font,
uint32_t  string_len,
const xcb_char2b_t string 
)

get text extents

Parameters
cThe connection
fontThe font to calculate text extents in. You can also pass a graphics context.
string_lenThe number of characters in string.
stringThe text to get text extents for.
Returns
A cookie

Query text extents from the X11 server. This request returns the bounding box of the specified 16-bit character string in the specified font or the font contained in the specified graphics context.

font_ascent is set to the maximum of the ascent metrics of all characters in the string. font_descent is set to the maximum of the descent metrics. overall_width is set to the sum of the character-width metrics of all characters in the string. For each character in the string, let W be the sum of the character-width metrics of all characters preceding it in the string. Let L be the left-side-bearing metric of the character plus W. Let R be the right-side-bearing metric of the character plus W. The lbearing member is set to the minimum L of all characters in the string. The rbearing member is set to the maximum R.

For fonts defined with linear indexing rather than 2-byte matrix indexing, each xcb_char2b_t structure is interpreted as a 16-bit number with byte1 as the most significant byte. If the font has no defined default character, undefined characters in the string are taken to have all zero metrics.

Characters with all zero metrics are ignored. If the font has no defined default_char, the undefined characters in the string are also ignored.

References XCB_QUERY_TEXT_EXTENTS.

xcb_query_text_extents_reply_t* xcb_query_text_extents_reply ( xcb_connection_t c,
xcb_query_text_extents_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_query_text_extents_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

xcb_query_text_extents_cookie_t xcb_query_text_extents_unchecked ( xcb_connection_t c,
xcb_fontable_t  font,
uint32_t  string_len,
const xcb_char2b_t string 
)

get text extents

Parameters
cThe connection
fontThe font to calculate text extents in. You can also pass a graphics context.
string_lenThe number of characters in string.
stringThe text to get text extents for.
Returns
A cookie

Query text extents from the X11 server. This request returns the bounding box of the specified 16-bit character string in the specified font or the font contained in the specified graphics context.

font_ascent is set to the maximum of the ascent metrics of all characters in the string. font_descent is set to the maximum of the descent metrics. overall_width is set to the sum of the character-width metrics of all characters in the string. For each character in the string, let W be the sum of the character-width metrics of all characters preceding it in the string. Let L be the left-side-bearing metric of the character plus W. Let R be the right-side-bearing metric of the character plus W. The lbearing member is set to the minimum L of all characters in the string. The rbearing member is set to the maximum R.

For fonts defined with linear indexing rather than 2-byte matrix indexing, each xcb_char2b_t structure is interpreted as a 16-bit number with byte1 as the most significant byte. If the font has no defined default character, undefined characters in the string are taken to have all zero metrics.

Characters with all zero metrics are ignored. If the font has no defined default_char, the undefined characters in the string are also ignored.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_QUERY_TEXT_EXTENTS.

xcb_query_tree_cookie_t xcb_query_tree ( xcb_connection_t c,
xcb_window_t  window 
)

query the window tree

Parameters
cThe connection
windowThe window to query.
Returns
A cookie

Gets the root window ID, parent window ID and list of children windows for the specified window. The children are listed in bottom-to-top stacking order.

References XCB_QUERY_TREE.

xcb_query_tree_reply_t* xcb_query_tree_reply ( xcb_connection_t c,
xcb_query_tree_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_query_tree_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_query_tree_cookie_t xcb_query_tree_unchecked ( xcb_connection_t c,
xcb_window_t  window 
)

query the window tree

Parameters
cThe connection
windowThe window to query.
Returns
A cookie

Gets the root window ID, parent window ID and list of children windows for the specified window. The children are listed in bottom-to-top stacking order.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_QUERY_TREE.

xcb_void_cookie_t xcb_recolor_cursor ( xcb_connection_t c,
xcb_cursor_t  cursor,
uint16_t  fore_red,
uint16_t  fore_green,
uint16_t  fore_blue,
uint16_t  back_red,
uint16_t  back_green,
uint16_t  back_blue 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_RECOLOR_CURSOR.

xcb_void_cookie_t xcb_recolor_cursor_checked ( xcb_connection_t c,
xcb_cursor_t  cursor,
uint16_t  fore_red,
uint16_t  fore_green,
uint16_t  fore_blue,
uint16_t  back_red,
uint16_t  back_green,
uint16_t  back_blue 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_RECOLOR_CURSOR.

Return the iterator pointing to the last element

Parameters
iAn xcb_rectangle_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_rectangle_next ( xcb_rectangle_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_rectangle_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_rectangle_t)

xcb_void_cookie_t xcb_reparent_window ( xcb_connection_t c,
xcb_window_t  window,
xcb_window_t  parent,
int16_t  x,
int16_t  y 
)

Reparents a window.

Parameters
cThe connection
windowThe window to reparent.
parentThe new parent of the window.
xThe X position of the window within its new parent.
yThe Y position of the window within its new parent.
Returns
A cookie

Makes the specified window a child of the specified parent window. If the window is mapped, it will automatically be unmapped before reparenting and re-mapped after reparenting. The window is placed in the stacking order on top with respect to sibling windows.

After reparenting, a ReparentNotify event is generated.

References XCB_REPARENT_WINDOW.

xcb_void_cookie_t xcb_reparent_window_checked ( xcb_connection_t c,
xcb_window_t  window,
xcb_window_t  parent,
int16_t  x,
int16_t  y 
)

Reparents a window.

Parameters
cThe connection
windowThe window to reparent.
parentThe new parent of the window.
xThe X position of the window within its new parent.
yThe Y position of the window within its new parent.
Returns
A cookie

Makes the specified window a child of the specified parent window. If the window is mapped, it will automatically be unmapped before reparenting and re-mapped after reparenting. The window is placed in the stacking order on top with respect to sibling windows.

After reparenting, a ReparentNotify event is generated.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_REPARENT_WINDOW.

Return the iterator pointing to the last element

Parameters
iAn xcb_rgb_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_rgb_next ( xcb_rgb_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_rgb_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_rgb_t)

xcb_void_cookie_t xcb_rotate_properties ( xcb_connection_t c,
xcb_window_t  window,
uint16_t  atoms_len,
int16_t  delta,
const xcb_atom_t *  atoms 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_ROTATE_PROPERTIES.

xcb_void_cookie_t xcb_rotate_properties_checked ( xcb_connection_t c,
xcb_window_t  window,
uint16_t  atoms_len,
int16_t  delta,
const xcb_atom_t *  atoms 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_ROTATE_PROPERTIES.

Return the iterator pointing to the last element

Parameters
iAn xcb_screen_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_screen_next().

void xcb_screen_next ( xcb_screen_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_screen_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_screen_t)

References xcb_generic_iterator_t::data.

Referenced by xcb_screen_end().

Return the iterator pointing to the last element

Parameters
iAn xcb_segment_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_segment_next ( xcb_segment_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_segment_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_segment_t)

xcb_void_cookie_t xcb_send_event ( xcb_connection_t c,
uint8_t  propagate,
xcb_window_t  destination,
uint32_t  event_mask,
const char *  event 
)

send an event

Parameters
cThe connection
propagateIf propagate is true and no clients have selected any event on destination, the destination is replaced with the closest ancestor of destination for which some client has selected a type in event_mask and for which no intervening window has that type in its do-not-propagate-mask. If no such window exists or if the window is an ancestor of the focus window and InputFocus was originally specified as the destination, the event is not sent to any clients. Otherwise, the event is reported to every client selecting on the final destination any of the types specified in event_mask.
destinationThe window to send this event to. Every client which selects any event within event_mask on destination will get the event.
The special value XCB_SEND_EVENT_DEST_POINTER_WINDOW refers to the window that contains the mouse pointer.
The special value XCB_SEND_EVENT_DEST_ITEM_FOCUS refers to the window which has the keyboard focus.
event_maskEvent_mask for determining which clients should receive the specified event. See destination and propagate.
eventThe event to send to the specified destination.
Returns
A cookie

Identifies the destination window, determines which clients should receive the specified event and ignores any active grabs.

The event must be one of the core events or an event defined by an extension, so that the X server can correctly byte-swap the contents as necessary. The contents of event are otherwise unaltered and unchecked except for the send_event field which is forced to 'true'.

References XCB_SEND_EVENT.

xcb_void_cookie_t xcb_send_event_checked ( xcb_connection_t c,
uint8_t  propagate,
xcb_window_t  destination,
uint32_t  event_mask,
const char *  event 
)

send an event

Parameters
cThe connection
propagateIf propagate is true and no clients have selected any event on destination, the destination is replaced with the closest ancestor of destination for which some client has selected a type in event_mask and for which no intervening window has that type in its do-not-propagate-mask. If no such window exists or if the window is an ancestor of the focus window and InputFocus was originally specified as the destination, the event is not sent to any clients. Otherwise, the event is reported to every client selecting on the final destination any of the types specified in event_mask.
destinationThe window to send this event to. Every client which selects any event within event_mask on destination will get the event.
The special value XCB_SEND_EVENT_DEST_POINTER_WINDOW refers to the window that contains the mouse pointer.
The special value XCB_SEND_EVENT_DEST_ITEM_FOCUS refers to the window which has the keyboard focus.
event_maskEvent_mask for determining which clients should receive the specified event. See destination and propagate.
eventThe event to send to the specified destination.
Returns
A cookie

Identifies the destination window, determines which clients should receive the specified event and ignores any active grabs.

The event must be one of the core events or an event defined by an extension, so that the X server can correctly byte-swap the contents as necessary. The contents of event are otherwise unaltered and unchecked except for the send_event field which is forced to 'true'.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_SEND_EVENT.

xcb_void_cookie_t xcb_set_access_control ( xcb_connection_t c,
uint8_t  mode 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_SET_ACCESS_CONTROL.

xcb_void_cookie_t xcb_set_access_control_checked ( xcb_connection_t c,
uint8_t  mode 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_SET_ACCESS_CONTROL.

xcb_void_cookie_t xcb_set_clip_rectangles ( xcb_connection_t c,
uint8_t  ordering,
xcb_gcontext_t  gc,
int16_t  clip_x_origin,
int16_t  clip_y_origin,
uint32_t  rectangles_len,
const xcb_rectangle_t rectangles 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_SET_CLIP_RECTANGLES.

xcb_void_cookie_t xcb_set_clip_rectangles_checked ( xcb_connection_t c,
uint8_t  ordering,
xcb_gcontext_t  gc,
int16_t  clip_x_origin,
int16_t  clip_y_origin,
uint32_t  rectangles_len,
const xcb_rectangle_t rectangles 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_SET_CLIP_RECTANGLES.

xcb_void_cookie_t xcb_set_close_down_mode ( xcb_connection_t c,
uint8_t  mode 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_SET_CLOSE_DOWN_MODE.

xcb_void_cookie_t xcb_set_close_down_mode_checked ( xcb_connection_t c,
uint8_t  mode 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_SET_CLOSE_DOWN_MODE.

xcb_void_cookie_t xcb_set_dashes ( xcb_connection_t c,
xcb_gcontext_t  gc,
uint16_t  dash_offset,
uint16_t  dashes_len,
const uint8_t *  dashes 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_SET_DASHES.

xcb_void_cookie_t xcb_set_dashes_checked ( xcb_connection_t c,
xcb_gcontext_t  gc,
uint16_t  dash_offset,
uint16_t  dashes_len,
const uint8_t *  dashes 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_SET_DASHES.

xcb_void_cookie_t xcb_set_font_path ( xcb_connection_t c,
uint16_t  font_qty,
const xcb_str_t font 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_SET_FONT_PATH.

xcb_void_cookie_t xcb_set_font_path_checked ( xcb_connection_t c,
uint16_t  font_qty,
const xcb_str_t font 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_SET_FONT_PATH.

xcb_void_cookie_t xcb_set_input_focus ( xcb_connection_t c,
uint8_t  revert_to,
xcb_window_t  focus,
xcb_timestamp_t  time 
)

Sets input focus.

Parameters
cThe connection
revert_toA bitmask of xcb_input_focus_t values.
revert_toSpecifies what happens when the focus window becomes unviewable (if focus is neither XCB_NONE nor XCB_POINTER_ROOT).
focusThe window to focus. All keyboard events will be reported to this window. The window must be viewable (TODO), or a xcb_match_error_t occurs (TODO).
If focus is XCB_NONE (TODO), all keyboard events are discarded until a new focus window is set.
If focus is XCB_POINTER_ROOT (TODO), focus is on the root window of the screen on which the pointer is on currently.
timeTimestamp to avoid race conditions when running X over the network.
The special value XCB_CURRENT_TIME will be replaced with the current server time.
Returns
A cookie

Changes the input focus and the last-focus-change time. If the specified time is earlier than the current last-focus-change time, the request is ignored (to avoid race conditions when running X over the network).

A FocusIn and FocusOut event is generated when focus is changed.

References XCB_SET_INPUT_FOCUS.

xcb_void_cookie_t xcb_set_input_focus_checked ( xcb_connection_t c,
uint8_t  revert_to,
xcb_window_t  focus,
xcb_timestamp_t  time 
)

Sets input focus.

Parameters
cThe connection
revert_toA bitmask of xcb_input_focus_t values.
revert_toSpecifies what happens when the focus window becomes unviewable (if focus is neither XCB_NONE nor XCB_POINTER_ROOT).
focusThe window to focus. All keyboard events will be reported to this window. The window must be viewable (TODO), or a xcb_match_error_t occurs (TODO).
If focus is XCB_NONE (TODO), all keyboard events are discarded until a new focus window is set.
If focus is XCB_POINTER_ROOT (TODO), focus is on the root window of the screen on which the pointer is on currently.
timeTimestamp to avoid race conditions when running X over the network.
The special value XCB_CURRENT_TIME will be replaced with the current server time.
Returns
A cookie

Changes the input focus and the last-focus-change time. If the specified time is earlier than the current last-focus-change time, the request is ignored (to avoid race conditions when running X over the network).

A FocusIn and FocusOut event is generated when focus is changed.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_SET_INPUT_FOCUS.

xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping ( xcb_connection_t c,
uint8_t  keycodes_per_modifier,
const xcb_keycode_t *  keycodes 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_SET_MODIFIER_MAPPING.

xcb_set_modifier_mapping_reply_t* xcb_set_modifier_mapping_reply ( xcb_connection_t c,
xcb_set_modifier_mapping_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_set_modifier_mapping_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping_unchecked ( xcb_connection_t c,
uint8_t  keycodes_per_modifier,
const xcb_keycode_t *  keycodes 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_SET_MODIFIER_MAPPING.

xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping ( xcb_connection_t c,
uint8_t  map_len,
const uint8_t *  map 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_SET_POINTER_MAPPING.

xcb_set_pointer_mapping_reply_t* xcb_set_pointer_mapping_reply ( xcb_connection_t c,
xcb_set_pointer_mapping_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_set_pointer_mapping_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping_unchecked ( xcb_connection_t c,
uint8_t  map_len,
const uint8_t *  map 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_SET_POINTER_MAPPING.

xcb_void_cookie_t xcb_set_screen_saver ( xcb_connection_t c,
int16_t  timeout,
int16_t  interval,
uint8_t  prefer_blanking,
uint8_t  allow_exposures 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_SET_SCREEN_SAVER.

xcb_void_cookie_t xcb_set_screen_saver_checked ( xcb_connection_t c,
int16_t  timeout,
int16_t  interval,
uint8_t  prefer_blanking,
uint8_t  allow_exposures 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_SET_SCREEN_SAVER.

xcb_void_cookie_t xcb_set_selection_owner ( xcb_connection_t c,
xcb_window_t  owner,
xcb_atom_t  selection,
xcb_timestamp_t  time 
)

Sets the owner of a selection.

Parameters
cThe connection
ownerThe new owner of the selection.
The special value XCB_NONE means that the selection will have no owner.
selectionThe selection.
timeTimestamp to avoid race conditions when running X over the network.
The selection will not be changed if time is earlier than the current last-change time of the selection or is later than the current X server time. Otherwise, the last-change time is set to the specified time.
The special value XCB_CURRENT_TIME will be replaced with the current server time.
Returns
A cookie

Makes window the owner of the selection selection and updates the last-change time of the specified selection.

TODO: briefly explain what a selection is.

References XCB_SET_SELECTION_OWNER.

xcb_void_cookie_t xcb_set_selection_owner_checked ( xcb_connection_t c,
xcb_window_t  owner,
xcb_atom_t  selection,
xcb_timestamp_t  time 
)

Sets the owner of a selection.

Parameters
cThe connection
ownerThe new owner of the selection.
The special value XCB_NONE means that the selection will have no owner.
selectionThe selection.
timeTimestamp to avoid race conditions when running X over the network.
The selection will not be changed if time is earlier than the current last-change time of the selection or is later than the current X server time. Otherwise, the last-change time is set to the specified time.
The special value XCB_CURRENT_TIME will be replaced with the current server time.
Returns
A cookie

Makes window the owner of the selection selection and updates the last-change time of the specified selection.

TODO: briefly explain what a selection is.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_SET_SELECTION_OWNER.

xcb_generic_iterator_t xcb_setup_authenticate_end ( xcb_setup_authenticate_iterator_t  i)

Return the iterator pointing to the last element

Parameters
iAn xcb_setup_authenticate_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, xcb_format_end(), and xcb_setup_authenticate_next().

void xcb_setup_authenticate_next ( xcb_setup_authenticate_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_setup_authenticate_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_setup_authenticate_t)

References xcb_generic_iterator_t::data.

Referenced by xcb_setup_authenticate_end().

Return the iterator pointing to the last element

Parameters
iAn xcb_setup_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_setup_next().

Return the iterator pointing to the last element

Parameters
iAn xcb_setup_failed_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_setup_failed_next().

void xcb_setup_failed_next ( xcb_setup_failed_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_setup_failed_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_setup_failed_t)

References xcb_generic_iterator_t::data.

Referenced by xcb_setup_failed_end().

void xcb_setup_next ( xcb_setup_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_setup_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_setup_t)

References xcb_generic_iterator_t::data.

Referenced by xcb_setup_end().

Return the iterator pointing to the last element

Parameters
iAn xcb_setup_request_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_setup_request_next().

void xcb_setup_request_next ( xcb_setup_request_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_setup_request_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_setup_request_t)

References xcb_generic_iterator_t::data.

Referenced by xcb_setup_request_end().

xcb_void_cookie_t xcb_store_colors ( xcb_connection_t c,
xcb_colormap_t  cmap,
uint32_t  items_len,
const xcb_coloritem_t items 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_STORE_COLORS.

xcb_void_cookie_t xcb_store_colors_checked ( xcb_connection_t c,
xcb_colormap_t  cmap,
uint32_t  items_len,
const xcb_coloritem_t items 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_STORE_COLORS.

xcb_void_cookie_t xcb_store_named_color ( xcb_connection_t c,
uint8_t  flags,
xcb_colormap_t  cmap,
uint32_t  pixel,
uint16_t  name_len,
const char *  name 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_STORE_NAMED_COLOR.

xcb_void_cookie_t xcb_store_named_color_checked ( xcb_connection_t c,
uint8_t  flags,
xcb_colormap_t  cmap,
uint32_t  pixel,
uint16_t  name_len,
const char *  name 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_STORE_NAMED_COLOR.

Return the iterator pointing to the last element

Parameters
iAn xcb_str_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and xcb_str_next().

void xcb_str_next ( xcb_str_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_str_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_str_t)

References xcb_generic_iterator_t::data.

Referenced by xcb_str_end().

Return the iterator pointing to the last element

Parameters
iAn xcb_timecoord_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_timecoord_next ( xcb_timecoord_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_timecoord_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_timecoord_t)

Return the iterator pointing to the last element

Parameters
iAn xcb_timestamp_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_timestamp_next ( xcb_timestamp_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_timestamp_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_timestamp_t)

xcb_translate_coordinates_cookie_t xcb_translate_coordinates ( xcb_connection_t c,
xcb_window_t  src_window,
xcb_window_t  dst_window,
int16_t  src_x,
int16_t  src_y 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_TRANSLATE_COORDINATES.

xcb_translate_coordinates_reply_t* xcb_translate_coordinates_reply ( xcb_connection_t c,
xcb_translate_coordinates_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_translate_coordinates_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

xcb_translate_coordinates_cookie_t xcb_translate_coordinates_unchecked ( xcb_connection_t c,
xcb_window_t  src_window,
xcb_window_t  dst_window,
int16_t  src_x,
int16_t  src_y 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_TRANSLATE_COORDINATES.

xcb_void_cookie_t xcb_ungrab_button ( xcb_connection_t c,
uint8_t  button,
xcb_window_t  grab_window,
uint16_t  modifiers 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_UNGRAB_BUTTON.

xcb_void_cookie_t xcb_ungrab_button_checked ( xcb_connection_t c,
uint8_t  button,
xcb_window_t  grab_window,
uint16_t  modifiers 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_UNGRAB_BUTTON.

xcb_void_cookie_t xcb_ungrab_key ( xcb_connection_t c,
xcb_keycode_t  key,
xcb_window_t  grab_window,
uint16_t  modifiers 
)

release a key combination

Parameters
cThe connection
keyThe keycode of the specified key combination.
Using the special value XCB_GRAB_ANY means releasing all possible key codes.
grab_windowThe window on which the grabbed key combination will be released.
modifiersThe modifiers of the specified key combination.
Using the special value XCB_MOD_MASK_ANY means releasing the key combination with every possible modifier combination.
Returns
A cookie

Releases the key combination on grab_window if you grabbed it using xcb_grab_key before.

References XCB_UNGRAB_KEY.

xcb_void_cookie_t xcb_ungrab_key_checked ( xcb_connection_t c,
xcb_keycode_t  key,
xcb_window_t  grab_window,
uint16_t  modifiers 
)

release a key combination

Parameters
cThe connection
keyThe keycode of the specified key combination.
Using the special value XCB_GRAB_ANY means releasing all possible key codes.
grab_windowThe window on which the grabbed key combination will be released.
modifiersThe modifiers of the specified key combination.
Using the special value XCB_MOD_MASK_ANY means releasing the key combination with every possible modifier combination.
Returns
A cookie

Releases the key combination on grab_window if you grabbed it using xcb_grab_key before.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_UNGRAB_KEY.

xcb_void_cookie_t xcb_ungrab_keyboard ( xcb_connection_t c,
xcb_timestamp_t  time 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_UNGRAB_KEYBOARD.

xcb_void_cookie_t xcb_ungrab_keyboard_checked ( xcb_connection_t c,
xcb_timestamp_t  time 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_UNGRAB_KEYBOARD.

xcb_void_cookie_t xcb_ungrab_pointer ( xcb_connection_t c,
xcb_timestamp_t  time 
)

release the pointer

Parameters
cThe connection
timeTimestamp to avoid race conditions when running X over the network.
The pointer will not be released if time is earlier than the last-pointer-grab time or later than the current X server time.
Returns
A cookie

Releases the pointer and any queued events if you actively grabbed the pointer before using xcb_grab_pointer, xcb_grab_button or within a normal button press.

EnterNotify and LeaveNotify events are generated.

References XCB_UNGRAB_POINTER.

xcb_void_cookie_t xcb_ungrab_pointer_checked ( xcb_connection_t c,
xcb_timestamp_t  time 
)

release the pointer

Parameters
cThe connection
timeTimestamp to avoid race conditions when running X over the network.
The pointer will not be released if time is earlier than the last-pointer-grab time or later than the current X server time.
Returns
A cookie

Releases the pointer and any queued events if you actively grabbed the pointer before using xcb_grab_pointer, xcb_grab_button or within a normal button press.

EnterNotify and LeaveNotify events are generated.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_UNGRAB_POINTER.

xcb_void_cookie_t xcb_ungrab_server ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_UNGRAB_SERVER.

xcb_void_cookie_t xcb_ungrab_server_checked ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_UNGRAB_SERVER.

xcb_void_cookie_t xcb_uninstall_colormap ( xcb_connection_t c,
xcb_colormap_t  cmap 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_UNINSTALL_COLORMAP.

xcb_void_cookie_t xcb_uninstall_colormap_checked ( xcb_connection_t c,
xcb_colormap_t  cmap 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_UNINSTALL_COLORMAP.

xcb_void_cookie_t xcb_unmap_subwindows ( xcb_connection_t c,
xcb_window_t  window 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_UNMAP_SUBWINDOWS.

xcb_void_cookie_t xcb_unmap_subwindows_checked ( xcb_connection_t c,
xcb_window_t  window 
)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_UNMAP_SUBWINDOWS.

xcb_void_cookie_t xcb_unmap_window ( xcb_connection_t c,
xcb_window_t  window 
)

Makes a window invisible.

Parameters
cThe connection
windowThe window to make invisible.
Returns
A cookie

Unmaps the specified window. This means making the window invisible (and all its child windows).

Unmapping a window leads to the UnmapNotify event being generated. Also, Expose events are generated for formerly obscured windows.

References XCB_UNMAP_WINDOW.

xcb_void_cookie_t xcb_unmap_window_checked ( xcb_connection_t c,
xcb_window_t  window 
)

Makes a window invisible.

Parameters
cThe connection
windowThe window to make invisible.
Returns
A cookie

Unmaps the specified window. This means making the window invisible (and all its child windows).

Unmapping a window leads to the UnmapNotify event being generated. Also, Expose events are generated for formerly obscured windows.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_UNMAP_WINDOW.

Return the iterator pointing to the last element

Parameters
iAn xcb_visualid_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_visualid_next ( xcb_visualid_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_visualid_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_visualid_t)

Return the iterator pointing to the last element

Parameters
iAn xcb_visualtype_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_visualtype_next ( xcb_visualtype_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_visualtype_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_visualtype_t)

xcb_void_cookie_t xcb_warp_pointer ( xcb_connection_t c,
xcb_window_t  src_window,
xcb_window_t  dst_window,
int16_t  src_x,
int16_t  src_y,
uint16_t  src_width,
uint16_t  src_height,
int16_t  dst_x,
int16_t  dst_y 
)

move mouse pointer

Parameters
cThe connection
src_windowIf src_window is not XCB_NONE (TODO), the move will only take place if the pointer is inside src_window and within the rectangle specified by (src_x, src_y, src_width, src_height). The rectangle coordinates are relative to src_window.
dst_windowIf dst_window is not XCB_NONE (TODO), the pointer will be moved to the offsets (dst_x, dst_y) relative to dst_window. If dst_window is XCB_NONE (TODO), the pointer will be moved by the offsets (dst_x, dst_y) relative to the current position of the pointer.
Returns
A cookie

Moves the mouse pointer to the specified position.

If src_window is not XCB_NONE (TODO), the move will only take place if the pointer is inside src_window and within the rectangle specified by (src_x, src_y, src_width, src_height). The rectangle coordinates are relative to src_window.

If dst_window is not XCB_NONE (TODO), the pointer will be moved to the offsets (dst_x, dst_y) relative to dst_window. If dst_window is XCB_NONE (TODO), the pointer will be moved by the offsets (dst_x, dst_y) relative to the current position of the pointer.

References XCB_WARP_POINTER.

xcb_void_cookie_t xcb_warp_pointer_checked ( xcb_connection_t c,
xcb_window_t  src_window,
xcb_window_t  dst_window,
int16_t  src_x,
int16_t  src_y,
uint16_t  src_width,
uint16_t  src_height,
int16_t  dst_x,
int16_t  dst_y 
)

move mouse pointer

Parameters
cThe connection
src_windowIf src_window is not XCB_NONE (TODO), the move will only take place if the pointer is inside src_window and within the rectangle specified by (src_x, src_y, src_width, src_height). The rectangle coordinates are relative to src_window.
dst_windowIf dst_window is not XCB_NONE (TODO), the pointer will be moved to the offsets (dst_x, dst_y) relative to dst_window. If dst_window is XCB_NONE (TODO), the pointer will be moved by the offsets (dst_x, dst_y) relative to the current position of the pointer.
Returns
A cookie

Moves the mouse pointer to the specified position.

If src_window is not XCB_NONE (TODO), the move will only take place if the pointer is inside src_window and within the rectangle specified by (src_x, src_y, src_width, src_height). The rectangle coordinates are relative to src_window.

If dst_window is not XCB_NONE (TODO), the pointer will be moved to the offsets (dst_x, dst_y) relative to dst_window. If dst_window is XCB_NONE (TODO), the pointer will be moved by the offsets (dst_x, dst_y) relative to the current position of the pointer.

This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().

References XCB_WARP_POINTER.

Return the iterator pointing to the last element

Parameters
iAn xcb_window_iterator_t
Returns
The iterator pointing to the last element

Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.

References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.

void xcb_window_next ( xcb_window_iterator_t i)

Get the next element of the iterator

Parameters
iPointer to a xcb_window_iterator_t

Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_window_t)