mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-05 22:51:58 -07:00
misc: fix some minor typos (#7530)
* keybindmgr: fix typo in swap prev seems a suspicious extra ) got added, remove it. * configmgr: dont dereference invalid iterator i think the idea here was to print the key and not the iterator at or past .end()
This commit is contained in:
@@ -2441,7 +2441,7 @@ SDispatchResult CKeybindManager::swapnext(std::string arg) {
|
||||
// sometimes we may come back to ourselves.
|
||||
if (toSwap == PLASTWINDOW) {
|
||||
if (arg == "last" || arg == "l" || arg == "prev" || arg == "p")
|
||||
toSwap = g_pCompositor->getPrevWindowOnWorkspace(PLASTWINDOW), true;
|
||||
toSwap = g_pCompositor->getPrevWindowOnWorkspace(PLASTWINDOW, true);
|
||||
else
|
||||
toSwap = g_pCompositor->getNextWindowOnWorkspace(PLASTWINDOW, true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user