summaryrefslogtreecommitdiff
path: root/src/display.h
diff options
context:
space:
mode:
authorMark McLoughlin <mark@skynet.ie>2003-02-24 02:16:09 +0000
committerMark McLoughlin <markmc@src.gnome.org>2003-02-24 02:16:09 +0000
commit73cce3b17406d72235073f47b62953c0894f276b (patch)
tree532f2a8af58251e90eeb5f99f14a217f76a7f608 /src/display.h
parent947adb6d075cda3c74877ebe0dcff8fc1ec01a33 (diff)
downloadmetacity-73cce3b17406d72235073f47b62953c0894f276b.tar.gz
Take control of the panel's global keybindings. The screenshot utility is
2003-02-24 Mark McLoughlin <mark@skynet.ie> Take control of the panel's global keybindings. The screenshot utility is hooked up using a special case run_command and the menu and run dialog bindings are done using the _GNOME_PANEL_ACTION ClientMessage protocol. * src/display.[ch]: (meta_display_open): add some atoms. * src/keybindings.c: (handle_panel_keybinding): impl to handle a keybinding by sending an action message to the panel. * src/metacity.schemas.in: add schemas for the panel and screenshot keybindings and the screenshot commands. * src/prefs.[ch]: (update_command), (meta_prefs_get_gconf_key_for_command): impl special case handling for the screenshot commands. They are stored at the the end of the commands array but have named keys.
Diffstat (limited to 'src/display.h')
-rw-r--r--src/display.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/display.h b/src/display.h
index 44381b90..3f2cb3a4 100644
--- a/src/display.h
+++ b/src/display.h
@@ -169,6 +169,9 @@ struct _MetaDisplay
Atom atom_metacity_toggle_verbose;
Atom atom_metacity_update_counter;
Atom atom_sync_counter;
+ Atom atom_gnome_panel_action;
+ Atom atom_gnome_panel_action_main_menu;
+ Atom atom_gnome_panel_action_run_dialog;
/* This is the actual window from focus events,
* not the one we last set