compositor_wayland: handle the cursor layer returning std::nullopt correctly
This commit is contained in:
parent
7ad1c163a3
commit
4582276cf8
1 changed files with 2 additions and 0 deletions
|
@ -311,6 +311,8 @@ void WaylandCompositor::addOutput(Output *output)
|
|||
if (!outputLayer->endFrame(infiniteRegion(), infiniteRegion())) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
outputLayer->setEnabled(true);
|
||||
return output->updateCursorLayer();
|
||||
|
|
Loading…
Reference in a new issue