FreeBSD Bugzilla – Attachment 229229 Details for
Bug 259614
x11-wm/plasma5-kwin: broken Xwayland support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1 (suffix like wlroots)
bug259614.diff (text/plain), 1.87 KB, created by
Jan Beich
on 2021-11-02 18:12:52 UTC
(
hide
)
Description:
v1 (suffix like wlroots)
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2021-11-02 18:12:52 UTC
Size:
1.87 KB
patch
obsolete
>From 6ba484960b4638c762fb4bb0f39464d0593d0309 Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Tue, 2 Nov 2021 15:32:37 +0000 >Subject: [PATCH] x11-wm/plasma5-kwin: unbreak Xwayland support > >kwin_xwl: Failed to find free X11 connection socket > >PR: 259614 >Approved by: ? >--- > x11-wm/plasma5-kwin/Makefile | 1 + > .../patch-src_xwl_lib_xwaylandsocket.cpp | 19 +++++++++++++++++++ > 2 files changed, 20 insertions(+) > create mode 100644 x11-wm/plasma5-kwin/files/patch-src_xwl_lib_xwaylandsocket.cpp > >diff --git a/x11-wm/plasma5-kwin/Makefile b/x11-wm/plasma5-kwin/Makefile >index 53230df60d29..64a87653bc99 100644 >--- a/x11-wm/plasma5-kwin/Makefile >+++ b/x11-wm/plasma5-kwin/Makefile >@@ -1,5 +1,6 @@ > PORTNAME= kwin > DISTVERSION= ${KDE_PLASMA_VERSION} >+PORTREVISION= 1 > CATEGORIES= x11-wm kde kde-plasma > > MAINTAINER= kde@FreeBSD.org >diff --git a/x11-wm/plasma5-kwin/files/patch-src_xwl_lib_xwaylandsocket.cpp b/x11-wm/plasma5-kwin/files/patch-src_xwl_lib_xwaylandsocket.cpp >new file mode 100644 >index 000000000000..b847f34450d6 >--- /dev/null >+++ b/x11-wm/plasma5-kwin/files/patch-src_xwl_lib_xwaylandsocket.cpp >@@ -0,0 +1,19 @@ >+$ kwin_wayland --xwayland >+[...] >+kwin_xwl: Failed to find free X11 connection socket >+Failed to establish X11 socket >+ >+--- src/xwl/lib/xwaylandsocket.cpp.orig 2021-10-26 12:27:37 UTC >++++ src/xwl/lib/xwaylandsocket.cpp >+@@ -183,7 +183,11 @@ XwaylandSocket::XwaylandSocket(OperationMode mode) >+ continue; >+ } >+ >++#if defined(Q_OS_LINUX) >+ const int abstractFileDescriptor = listen_helper(socketFilePath, UnixSocketAddress::Type::Abstract, mode); >++#else >++ const int abstractFileDescriptor = listen_helper(socketFilePath + "_", UnixSocketAddress::Type::Unix, mode); >++#endif >+ if (abstractFileDescriptor == -1) { >+ QFile::remove(lockFilePath); >+ QFile::remove(socketFilePath);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 259614
:
229225
|
229229
|
229230