View | Details | Raw Unified | Return to bug 259614 | Differences between
and this patch

Collapse All | Expand All

(-)b/x11-wm/plasma5-kwin/Makefile (+1 lines)
Lines 1-5 Link Here
1
PORTNAME=	kwin
1
PORTNAME=	kwin
2
DISTVERSION=	${KDE_PLASMA_VERSION}
2
DISTVERSION=	${KDE_PLASMA_VERSION}
3
PORTREVISION=	1
3
CATEGORIES=	x11-wm kde kde-plasma
4
CATEGORIES=	x11-wm kde kde-plasma
4
5
5
MAINTAINER=	kde@FreeBSD.org
6
MAINTAINER=	kde@FreeBSD.org
(-)b/x11-wm/plasma5-kwin/files/patch-src_xwl_lib_xwaylandsocket.cpp (+19 lines)
Added Link Here
1
$ kwin_wayland --xwayland
2
[...]
3
kwin_xwl: Failed to find free X11 connection socket
4
Failed to establish X11 socket
5
6
--- src/xwl/lib/xwaylandsocket.cpp.orig	2021-10-26 12:27:37 UTC
7
+++ src/xwl/lib/xwaylandsocket.cpp
8
@@ -183,7 +183,11 @@ XwaylandSocket::XwaylandSocket(OperationMode mode)
9
             continue;
10
         }
11
 
12
+#if defined(Q_OS_LINUX)
13
         const int abstractFileDescriptor = listen_helper(socketFilePath, UnixSocketAddress::Type::Abstract, mode);
14
+#else
15
+        const int abstractFileDescriptor = listen_helper(socketFilePath + "_", UnixSocketAddress::Type::Unix, mode);
16
+#endif
17
         if (abstractFileDescriptor == -1) {
18
             QFile::remove(lockFilePath);
19
             QFile::remove(socketFilePath);

Return to bug 259614