diff options
-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) |