aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Tamin <richard.tamin@gmail.com>2020-09-27 21:39:52 (GMT)
committerMathias Gumz <mgumz@users.noreply.github.com>2022-04-18 19:50:06 (GMT)
commit6168d9c8b0b6f08e6eb668ac4cdce3289c588435 (patch)
treebed43600b0902a3c0f554f356c474b212cd4db4d
parent174e62ff66fee78d83231b1f0f9ea083370ae55d (diff)
downloadfluxbox-6168d9c8b0b6f08e6eb668ac4cdce3289c588435.zip
fluxbox-6168d9c8b0b6f08e6eb668ac4cdce3289c588435.tar.bz2
Shortcut to windows - Fix override of existing shortcut
-rw-r--r--src/ShortcutManager.cc2
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
18void ShortcutManager::mapKeyToWindow(unsigned int key, FluxboxWindow* window) 18void 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
23void ShortcutManager::removeWindow(FluxboxWindow* window) 23void ShortcutManager::removeWindow(FluxboxWindow* window)