compositor: guard null ws in updating fade
This commit is contained in:
parent
70cfc7cc9c
commit
5e7292434a
1 changed files with 3 additions and 0 deletions
|
|
@ -2217,6 +2217,9 @@ bool CCompositor::workspaceIDOutOfBounds(const WORKSPACEID& id) {
|
|||
|
||||
void CCompositor::updateFullscreenFadeOnWorkspace(PHLWORKSPACE pWorkspace) {
|
||||
|
||||
if (!pWorkspace)
|
||||
return;
|
||||
|
||||
const auto FULLSCREEN = pWorkspace->m_bHasFullscreenWindow;
|
||||
|
||||
for (auto const& w : g_pCompositor->m_vWindows) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue