diff options
author | Richard Tamin <richard.tamin@gmail.com> | 2020-09-27 21:39:52 (GMT) |
---|---|---|
committer | Mathias Gumz <mgumz@users.noreply.github.com> | 2022-04-18 19:50:06 (GMT) |
commit | 6168d9c8b0b6f08e6eb668ac4cdce3289c588435 (patch) | |
tree | bed43600b0902a3c0f554f356c474b212cd4db4d | |
parent | 174e62ff66fee78d83231b1f0f9ea083370ae55d (diff) | |
download | fluxbox-6168d9c8b0b6f08e6eb668ac4cdce3289c588435.zip fluxbox-6168d9c8b0b6f08e6eb668ac4cdce3289c588435.tar.bz2 |
Shortcut to windows - Fix override of existing shortcut
-rw-r--r-- | src/ShortcutManager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ShortcutManager.cc b/src/ShortcutManager.cc index 52e94af..0809220 100644 --- a/src/ShortcutManager.cc +++ b/src/ShortcutManager.cc | |||
@@ -17,7 +17,7 @@ unsigned int ShortcutManager::getLastPlaceHolderKey() | |||
17 | 17 | ||
18 | void ShortcutManager::mapKeyToWindow(unsigned int key, FluxboxWindow* window) | 18 | void ShortcutManager::mapKeyToWindow(unsigned int key, FluxboxWindow* window) |
19 | { | 19 | { |
20 | m_key_to_window_map.insert(std::make_pair(key, window)); | 20 | m_key_to_window_map[key] = window; |
21 | } | 21 | } |
22 | 22 | ||
23 | void ShortcutManager::removeWindow(FluxboxWindow* window) | 23 | void ShortcutManager::removeWindow(FluxboxWindow* window) |