mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
Export a _GNOME_WM_KEYBINDINGS property
We need a way to indicate to gnome-control-center that we want the keybindings capplet to show the Window Manager keybindings for Metacity; do this through a _GNOME_WM_KEYBINDING property we put on the _NET_SUPPORTING_WM_CHECK window and set to Mutter,Metacity. See http://bugzilla.gnome.org/show_bug.cgi?id=594066 for the gnome-control-center part of this. http://bugzilla.gnome.org/show_bug.cgi?id=594067
This commit is contained in:
parent
51f83f25e6
commit
0b86343dd0
@ -722,6 +722,13 @@ meta_display_open (void)
|
||||
the_display->leader_window,
|
||||
the_display->atom__NET_WM_NAME,
|
||||
"Mutter");
|
||||
|
||||
/* The GNOME keybindings capplet should include both the Mutter and Metacity
|
||||
* keybindings */
|
||||
meta_prop_set_utf8_string_hint (the_display,
|
||||
the_display->leader_window,
|
||||
the_display->atom__GNOME_WM_KEYBINDINGS,
|
||||
"Mutter,Metacity");
|
||||
|
||||
meta_prop_set_utf8_string_hint (the_display,
|
||||
the_display->leader_window,
|
||||
|
@ -58,6 +58,7 @@ item(_MUTTER_RESTART_MESSAGE)
|
||||
item(_MUTTER_RELOAD_THEME_MESSAGE)
|
||||
item(_MUTTER_SET_KEYBINDINGS_MESSAGE)
|
||||
item(_MUTTER_TOGGLE_VERBOSE)
|
||||
item(_GNOME_WM_KEYBINDINGS)
|
||||
item(_GNOME_PANEL_ACTION)
|
||||
item(_GNOME_PANEL_ACTION_MAIN_MENU)
|
||||
item(_GNOME_PANEL_ACTION_RUN_DIALOG)
|
||||
|
Loading…
Reference in New Issue
Block a user