mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 20:45:59 +01:00
fix cyclenext on empty focus
This commit is contained in:
parent
14a2de0d0e
commit
60e37d727d
1 changed files with 1 additions and 1 deletions
|
@ -1735,7 +1735,7 @@ void CKeybindManager::circleNext(std::string arg) {
|
|||
if (!g_pCompositor->m_pLastWindow) {
|
||||
// if we have a clear focus, find the first window and get the next focusable.
|
||||
if (g_pCompositor->getWindowsOnWorkspace(g_pCompositor->m_pLastMonitor->activeWorkspace) > 0) {
|
||||
const auto PWINDOW = g_pCompositor->getNextWindowOnWorkspace(g_pCompositor->getFirstWindowOnWorkspace(g_pCompositor->m_pLastMonitor->activeWorkspace), true);
|
||||
const auto PWINDOW = g_pCompositor->getFirstWindowOnWorkspace(g_pCompositor->m_pLastMonitor->activeWorkspace);
|
||||
|
||||
switchToWindow(PWINDOW);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue