|
|
|
@ -59,7 +59,7 @@ void ScreencastManager::streamVirtualOutput(ScreencastStreamV1Interface *stream, |
|
|
|
double scale, |
|
|
|
double scale, |
|
|
|
ScreencastV1Interface::CursorMode mode) |
|
|
|
ScreencastV1Interface::CursorMode mode) |
|
|
|
{ |
|
|
|
{ |
|
|
|
auto output = kwinApp()->outputBackend()->createVirtualOutput(name, size, scale); |
|
|
|
auto output = kwinApp()->outputBackend()->createVirtualOutput(name, name, size, scale); |
|
|
|
streamOutput(stream, output, mode); |
|
|
|
streamOutput(stream, output, mode); |
|
|
|
connect(stream, &ScreencastStreamV1Interface::finished, output, [output] { |
|
|
|
connect(stream, &ScreencastStreamV1Interface::finished, output, [output] { |
|
|
|
kwinApp()->outputBackend()->removeVirtualOutput(output); |
|
|
|
kwinApp()->outputBackend()->removeVirtualOutput(output); |
|
|
|
|