[keybindings] Show shortcuts for the active window manager
Actually display the bindings for the running window manager instead of all others (bug #600531).
This commit is contained in:
parent
4583bc657b
commit
7c82b5b5cc
1 changed files with 1 additions and 1 deletions
|
@ -868,7 +868,7 @@ append_keys_to_tree_from_file (GtkBuilder *builder,
|
|||
/* If there's no keys to add, or the settings apply to a window manager
|
||||
* that's not the one we're running */
|
||||
if (keylist->entries->len == 0
|
||||
|| (keylist->wm_name != NULL && strv_contains (wm_keybindings, keylist->wm_name))
|
||||
|| (keylist->wm_name != NULL && !strv_contains (wm_keybindings, keylist->wm_name))
|
||||
|| keylist->name == NULL)
|
||||
{
|
||||
g_free (keylist->name);
|
||||
|
|
Loading…
Add table
Reference in a new issue