Allow a window manager to inherit keybindings from another window manager
Mutter shares most (currently all) its keybindings with Metacity, and uses the same /apps/metacity GConf keys. For 2.28, the schemas stay in Metacity; the eventual plan is to have a gnome-wm-data package. This patch allows a window manager to put a _GNOME_WM_KEYBINDINGS property on its _NET_SUPPORTING_WM_CHECK window to provide a comma separated list of window manager names to use for keybinding lookup instead of _NET_WM_NAME. http://bugzilla.gnome.org/show_bug.cgi?id=594066
This commit is contained in:
parent
1fce26d7e2
commit
a01e8daa6d
3 changed files with 79 additions and 15 deletions
|
@ -6,6 +6,10 @@
|
|||
#define WM_COMMON_UNKNOWN "Unknown"
|
||||
|
||||
gchar *wm_common_get_current_window_manager (void);
|
||||
/* Returns a strv of keybinding names for the window manager;
|
||||
* using _GNOME_WM_KEYBINDINGS if available, _NET_WM_NAME otherwise. */
|
||||
char **wm_common_get_current_keybindings (void);
|
||||
|
||||
void wm_common_register_window_manager_change (GFunc func,
|
||||
gpointer data);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue