diff options
Diffstat (limited to 'source/kde/kde/patch')
-rw-r--r-- | source/kde/kde/patch/kwin.patch | 2 | ||||
-rw-r--r-- | source/kde/kde/patch/kwin/kwin.wayland.stream.diff | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/source/kde/kde/patch/kwin.patch b/source/kde/kde/patch/kwin.patch new file mode 100644 index 000000000..c2063e72e --- /dev/null +++ b/source/kde/kde/patch/kwin.patch @@ -0,0 +1,2 @@ +# delay deletion of wayland streams: +cat $CWD/patch/kwin/kwin.wayland.stream.diff | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } diff --git a/source/kde/kde/patch/kwin/kwin.wayland.stream.diff b/source/kde/kde/patch/kwin/kwin.wayland.stream.diff new file mode 100644 index 000000000..e5c368823 --- /dev/null +++ b/source/kde/kde/patch/kwin/kwin.wayland.stream.diff @@ -0,0 +1,12 @@ +diff -urN kwin-5.21.4.orig/plugins/screencast/screencastmanager.cpp kwin-5.21.4/plugins/screencast/screencastmanager.cpp +--- kwin-5.21.4.orig/plugins/screencast/screencastmanager.cpp 2021-04-06 15:27:01.000000000 +0300 ++++ kwin-5.21.4/plugins/screencast/screencastmanager.cpp 2021-04-19 10:58:00.395022083 +0300 +@@ -131,7 +131,7 @@ + connect(waylandStream, &KWaylandServer::ScreencastStreamV1Interface::finished, stream, &PipeWireStream::stop); + connect(stream, &PipeWireStream::stopStreaming, waylandStream, [stream, waylandStream] { + waylandStream->sendClosed(); +- delete stream; ++ stream->deleteLater(); + }); + connect(stream, &PipeWireStream::streamReady, stream, [waylandStream] (uint nodeid) { + waylandStream->sendCreated(nodeid); |