diff options
Diffstat (limited to 'src/layout/LayoutManager.cpp')
| -rw-r--r-- | src/layout/LayoutManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layout/LayoutManager.cpp b/src/layout/LayoutManager.cpp index 4a93809c..3f28085f 100644 --- a/src/layout/LayoutManager.cpp +++ b/src/layout/LayoutManager.cpp @@ -95,7 +95,8 @@ void CLayoutManager::endDragTarget() { } void CLayoutManager::fullscreenRequestForTarget(SP<ITarget> target, eFullscreenMode currentEffectiveMode, eFullscreenMode effectiveMode) { - target->space()->setFullscreen(target, effectiveMode); + if (target->space()) + target->space()->setFullscreen(target, effectiveMode); } void CLayoutManager::switchTargets(SP<ITarget> a, SP<ITarget> b, bool preserveFocus) { |
