fix segfault with cyclenext null
Some checks failed
Some checks failed
This commit is contained in:
parent
e5ab9643be
commit
0e57651e2f
1 changed files with 1 additions and 1 deletions
|
|
@ -1257,7 +1257,7 @@ void CKeybindManager::circleNext(std::string arg) {
|
|||
return;
|
||||
|
||||
auto switchToWindow = [&](CWindow* PWINDOWTOCHANGETO) {
|
||||
if (PWINDOWTOCHANGETO == g_pCompositor->m_pLastWindow)
|
||||
if (PWINDOWTOCHANGETO == g_pCompositor->m_pLastWindow || !PWINDOWTOCHANGETO)
|
||||
return;
|
||||
|
||||
if (g_pCompositor->m_pLastWindow->m_iWorkspaceID == PWINDOWTOCHANGETO->m_iWorkspaceID && g_pCompositor->m_pLastWindow->m_bIsFullscreen) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue