keybindings.h File Reference

Grab and ungrab keys, and process the key events. More...

Go to the source code of this file.

Functions

void meta_display_init_keys (MetaDisplay *display)
void meta_display_shutdown_keys (MetaDisplay *display)
void meta_screen_grab_keys (MetaScreen *screen)
void meta_screen_ungrab_keys (MetaScreen *screen)
gboolean meta_screen_grab_all_keys (MetaScreen *screen, guint32 timestamp)
void meta_screen_ungrab_all_keys (MetaScreen *screen, guint32 timestamp)
void meta_window_grab_keys (MetaWindow *window)
void meta_window_ungrab_keys (MetaWindow *window)
gboolean meta_window_grab_all_keys (MetaWindow *window, guint32 timestamp)
void meta_window_ungrab_all_keys (MetaWindow *window, guint32 timestamp)
void meta_display_process_key_event (MetaDisplay *display, MetaWindow *window, XEvent *event)
void meta_set_keybindings_disabled (gboolean setting)
void meta_display_process_mapping_event (MetaDisplay *display, XEvent *event)


Detailed Description

Grab and ungrab keys, and process the key events.

Performs global X grabs on the keys we need to be told about, like the one to close a window. It also deals with incoming key events.

Definition in file keybindings.h.


Function Documentation

void meta_display_init_keys ( MetaDisplay display  ) 

void meta_display_process_key_event ( MetaDisplay display,
MetaWindow window,
XEvent *  event 
)

Definition at line 1663 of file keybindings.c.

References all_bindings_disabled, _MetaScreen::all_keys_grabbed, _MetaWindow::all_keys_grabbed, _MetaWindow::desc, _MetaDisplay::grab_op, _MetaDisplay::grab_screen, _MetaDisplay::grab_window, META_DEBUG_KEYBINDINGS, meta_display_end_grab_op(), meta_display_screen_for_root(), meta_display_screen_for_xwindow(), META_GRAB_OP_KEYBOARD_ESCAPING_DOCK, META_GRAB_OP_KEYBOARD_ESCAPING_GROUP, META_GRAB_OP_KEYBOARD_ESCAPING_NORMAL, META_GRAB_OP_KEYBOARD_MOVING, META_GRAB_OP_KEYBOARD_RESIZING_E, META_GRAB_OP_KEYBOARD_RESIZING_N, META_GRAB_OP_KEYBOARD_RESIZING_NE, META_GRAB_OP_KEYBOARD_RESIZING_NW, META_GRAB_OP_KEYBOARD_RESIZING_S, META_GRAB_OP_KEYBOARD_RESIZING_SE, META_GRAB_OP_KEYBOARD_RESIZING_SW, META_GRAB_OP_KEYBOARD_RESIZING_UNKNOWN, META_GRAB_OP_KEYBOARD_RESIZING_W, META_GRAB_OP_KEYBOARD_TABBING_DOCK, META_GRAB_OP_KEYBOARD_TABBING_GROUP, META_GRAB_OP_KEYBOARD_TABBING_NORMAL, META_GRAB_OP_KEYBOARD_WORKSPACE_SWITCHING, META_GRAB_OP_MOVING, META_GRAB_OP_NONE, META_GRAB_OP_RESIZING_E, META_GRAB_OP_RESIZING_N, META_GRAB_OP_RESIZING_NE, META_GRAB_OP_RESIZING_NW, META_GRAB_OP_RESIZING_S, META_GRAB_OP_RESIZING_SE, META_GRAB_OP_RESIZING_SW, META_GRAB_OP_RESIZING_W, meta_ui_window_is_widget(), _MetaDisplay::n_screen_bindings, _MetaDisplay::n_window_bindings, NULL, process_event(), process_keyboard_move_grab(), process_keyboard_resize_grab(), process_mouse_move_resize_grab(), process_tab_grab(), process_workspace_switch_grab(), screen, _MetaDisplay::screen_bindings, TRUE, _MetaScreen::ui, _MetaDisplay::window_bindings, and _MetaDisplay::xdisplay.

Referenced by event_callback().

void meta_display_process_mapping_event ( MetaDisplay display,
XEvent *  event 
)

void meta_display_shutdown_keys ( MetaDisplay display  ) 

gboolean meta_screen_grab_all_keys ( MetaScreen screen,
guint32  timestamp 
)

void meta_screen_grab_keys ( MetaScreen screen  ) 

void meta_screen_ungrab_all_keys ( MetaScreen screen,
guint32  timestamp 
)

void meta_screen_ungrab_keys ( MetaScreen screen  ) 

void meta_set_keybindings_disabled ( gboolean  setting  ) 

Definition at line 3835 of file keybindings.c.

References all_bindings_disabled, and META_DEBUG_KEYBINDINGS.

Referenced by event_callback().

gboolean meta_window_grab_all_keys ( MetaWindow window,
guint32  timestamp 
)

void meta_window_grab_keys ( MetaWindow window  ) 

void meta_window_ungrab_all_keys ( MetaWindow window,
guint32  timestamp 
)

void meta_window_ungrab_keys ( MetaWindow window  ) 


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