errors.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* ErrorHandler )(Display *dpy, XErrorEvent *error, gpointer data)

Functions

void meta_errors_init (void)
void meta_errors_register_foreign_display (Display *foreign_dpy, ErrorHandler handler, gpointer data)
void meta_error_trap_push (MetaDisplay *display)
void meta_error_trap_pop (MetaDisplay *display, gboolean last_request_was_roundtrip)
void meta_error_trap_push_with_return (MetaDisplay *display)
int meta_error_trap_pop_with_return (MetaDisplay *display, gboolean last_request_was_roundtrip)


Typedef Documentation

typedef void(* ErrorHandler)(Display *dpy, XErrorEvent *error, gpointer data)

Definition at line 32 of file errors.h.


Function Documentation

void meta_error_trap_pop ( MetaDisplay display,
gboolean  last_request_was_roundtrip 
)

Definition at line 145 of file errors.c.

References _MetaDisplay::error_trap_synced_at_last_pop, _MetaDisplay::error_traps, META_DEBUG_SYNC, and meta_error_trap_pop_internal().

Referenced by border_size(), event_callback(), free_win(), get_window_picture(), grab_keys(), handle_panel_keybinding(), meta_change_button_grab(), meta_change_keygrab(), meta_display_screen_for_xwindow(), meta_display_set_grab_op_cursor(), meta_display_set_input_focus_window(), meta_display_update_active_window_hint(), meta_prop_set_utf8_string_hint(), meta_screen_get_mouse_window(), meta_screen_update_showing_desktop_hint(), meta_spew_event(), meta_window_client_message(), meta_window_delete(), meta_window_destroy_frame(), meta_window_ensure_frame(), meta_window_free(), meta_window_hide(), meta_window_kill(), meta_window_move_resize_internal(), meta_window_new(), meta_window_new_with_attrs(), meta_window_notify_focus(), meta_window_send_icccm_message(), meta_window_set_current_workspace_hint(), meta_window_set_gravity(), meta_window_show(), process_request_frame_extents(), process_selection_clear(), process_selection_request(), raise_window_relative_to_managed_windows(), regrab_screen_bindings(), regrab_window_bindings(), repair_screen(), repair_win(), send_configure_notify(), set_active_space_hint(), set_allowed_actions_hint(), set_desktop_geometry_hint(), set_desktop_viewport_hint(), set_net_wm_state(), set_number_of_spaces_hint(), set_title_text(), set_wm_state(), set_work_area_hint(), set_workspace_names(), sn_error_trap_pop(), stack_sync_to_server(), try_pixmap_and_mask(), ungrab_all_keys(), ungrab_keyboard(), update_net_frame_extents(), update_net_wm_type(), utf8_list_from_results(), validate_or_free_results(), window_raise_with_delay_callback(), xrender_add_window(), and xrender_process_event().

int meta_error_trap_pop_with_return ( MetaDisplay display,
gboolean  last_request_was_roundtrip 
)

void meta_error_trap_push ( MetaDisplay display  ) 

Definition at line 139 of file errors.c.

References FALSE, and meta_error_trap_push_internal().

Referenced by border_size(), event_callback(), free_win(), get_window_picture(), grab_keys(), handle_panel_keybinding(), meta_change_button_grab(), meta_change_keygrab(), meta_display_screen_for_xwindow(), meta_display_set_grab_op_cursor(), meta_display_set_input_focus_window(), meta_display_update_active_window_hint(), meta_prop_set_utf8_string_hint(), meta_screen_get_mouse_window(), meta_screen_update_showing_desktop_hint(), meta_spew_event(), meta_window_client_message(), meta_window_delete(), meta_window_destroy_frame(), meta_window_ensure_frame(), meta_window_free(), meta_window_hide(), meta_window_kill(), meta_window_move_resize_internal(), meta_window_new(), meta_window_new_with_attrs(), meta_window_notify_focus(), meta_window_send_icccm_message(), meta_window_set_current_workspace_hint(), meta_window_set_gravity(), meta_window_show(), process_request_frame_extents(), process_selection_clear(), process_selection_request(), raise_window_relative_to_managed_windows(), regrab_screen_bindings(), regrab_window_bindings(), repair_screen(), repair_win(), send_configure_notify(), set_active_space_hint(), set_allowed_actions_hint(), set_desktop_geometry_hint(), set_desktop_viewport_hint(), set_net_wm_state(), set_number_of_spaces_hint(), set_title_text(), set_wm_state(), set_work_area_hint(), set_workspace_names(), sn_error_trap_push(), stack_sync_to_server(), try_pixmap_and_mask(), ungrab_all_keys(), ungrab_keyboard(), update_net_frame_extents(), update_net_wm_type(), utf8_list_from_results(), validate_or_free_results(), window_raise_with_delay_callback(), xrender_add_window(), and xrender_process_event().

void meta_error_trap_push_with_return ( MetaDisplay display  ) 

void meta_errors_init ( void   ) 

Definition at line 37 of file errors.c.

References x_error_handler(), and x_io_error_handler().

Referenced by main().

void meta_errors_register_foreign_display ( Display *  foreign_dpy,
ErrorHandler  handler,
gpointer  data 
)


Generated on Sat Aug 23 22:04:22 2008 for metacity by  doxygen 1.5.5