mirror of
https://github.com/hyprwm/Hyprland
synced 2025-02-17 00:22:07 +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 (!g_pCompositor->m_pLastWindow) {
|
||||||
// if we have a clear focus, find the first window and get the next focusable.
|
// 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) {
|
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);
|
switchToWindow(PWINDOW);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue