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 (+22 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
@@ -184,12 +184,14 @@ XwaylandSocket::XwaylandSocket(OperationMode mode)
9
         }
10
 
11
         const int abstractFileDescriptor = listen_helper(socketFilePath, UnixSocketAddress::Type::Abstract, mode);
12
+#if defined(Q_OS_LINUX)
13
         if (abstractFileDescriptor == -1) {
14
             QFile::remove(lockFilePath);
15
             QFile::remove(socketFilePath);
16
             close(unixFileDescriptor);
17
             continue;
18
         }
19
+#endif
20
 
21
         m_socketFilePath = socketFilePath;
22
         m_lockFilePath = lockFilePath;

Return to bug 259614