workspace: don't make the placeholder output too big
The size is used in NETRootInfo::setDesktopGeometry, which seems to cause some applications to misbehave or even crash because they attempt to create a texture larger than what the GPU supports CCBUG: 461848
This commit is contained in:
parent
b9612ca0b7
commit
40ca578bd0
1 changed files with 1 additions and 1 deletions
|
@ -1550,7 +1550,7 @@ void Workspace::updateOutputs(const QVector<Output *> &outputOrder)
|
|||
// The workspace requires at least one output connected.
|
||||
if (m_outputs.isEmpty()) {
|
||||
if (!m_placeholderOutput) {
|
||||
m_placeholderOutput = new PlaceholderOutput(QSize(16535, 16535), 1);
|
||||
m_placeholderOutput = new PlaceholderOutput(QSize(8192, 8192), 1);
|
||||
m_placeholderFilter = std::make_unique<PlaceholderInputEventFilter>();
|
||||
input()->prependInputEventFilter(m_placeholderFilter.get());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue