diff options
author | vaxerski <[email protected]> | 2022-11-14 12:12:13 +0000 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-11-14 12:12:13 +0000 |
commit | fcb5037a1d22d05d9f58b8a43d75b1870d93b896 (patch) | |
tree | 8161aaa698a508a8f2cf947a95abf41c9c9dbfbb /src | |
parent | 0634abf168c2f4a6a418743cb1daa0d940271d59 (diff) | |
download | Hyprland-fcb5037a1d22d05d9f58b8a43d75b1870d93b896.tar.gz Hyprland-fcb5037a1d22d05d9f58b8a43d75b1870d93b896.zip |
guard lastwindow in circlenext
Diffstat (limited to 'src')
-rw-r--r-- | src/managers/KeybindManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index a529da97..9bd52ae8 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -1465,7 +1465,7 @@ void CKeybindManager::circleNext(std::string arg) { if (PWINDOWTOCHANGETO == g_pCompositor->m_pLastWindow || !PWINDOWTOCHANGETO) return; - if (g_pCompositor->m_pLastWindow->m_iWorkspaceID == PWINDOWTOCHANGETO->m_iWorkspaceID && g_pCompositor->m_pLastWindow->m_bIsFullscreen) { + if (g_pCompositor->m_pLastWindow && g_pCompositor->m_pLastWindow->m_iWorkspaceID == PWINDOWTOCHANGETO->m_iWorkspaceID && g_pCompositor->m_pLastWindow->m_bIsFullscreen) { const auto PWORKSPACE = g_pCompositor->getWorkspaceByID(g_pCompositor->m_pLastWindow->m_iWorkspaceID); const auto FSMODE = PWORKSPACE->m_efFullscreenMode; |