From 40dda63612be929ad99e6d8874a6f4239f5355a0 Mon Sep 17 00:00:00 2001 From: Rmys Date: Sat, 11 Dec 2021 18:22:06 +0300 Subject: [PATCH] qt5-wayland kde_patch --- desktop/toolkit/qt5/qt5-wayland/files/qt_kde.patch | 8 ++++---- desktop/toolkit/qt5/qt5-wayland/pspec.xml | 7 +++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/desktop/toolkit/qt5/qt5-wayland/files/qt_kde.patch b/desktop/toolkit/qt5/qt5-wayland/files/qt_kde.patch index 5e4b82400f..7430333dd3 100644 --- a/desktop/toolkit/qt5/qt5-wayland/files/qt_kde.patch +++ b/desktop/toolkit/qt5/qt5-wayland/files/qt_kde.patch @@ -838,7 +838,7 @@ index 5b1f4d56..0079dfef 100644 } diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp b/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp -index ccebf43d..95d1049c 100644 +index ccebf43d..683fe123 100644 --- a/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp +++ b/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp @@ -336,6 +336,8 @@ QWaylandGLContext::QWaylandGLContext(EGLDisplay eglDisplay, QWaylandDisplay *dis @@ -850,18 +850,18 @@ index ccebf43d..95d1049c 100644 updateGLFormat(); } -@@ -404,7 +406,9 @@ void QWaylandGLContext::updateGLFormat() +@@ -404,7 +406,10 @@ void QWaylandGLContext::updateGLFormat() QWaylandGLContext::~QWaylandGLContext() { delete m_blitter; -- eglDestroyContext(m_eglDisplay, m_context); + m_blitter = nullptr; + eglDestroyContext(m_eglDisplay, m_context); + if (m_decorationsContext != EGL_NO_CONTEXT) + eglDestroyContext(m_eglDisplay, m_decorationsContext); } bool QWaylandGLContext::makeCurrent(QPlatformSurface *surface) -@@ -439,6 +443,10 @@ bool QWaylandGLContext::makeCurrent(QPlatformSurface *surface) +@@ -439,6 +444,10 @@ bool QWaylandGLContext::makeCurrent(QPlatformSurface *surface) eglSurface = window->eglSurface(); } diff --git a/desktop/toolkit/qt5/qt5-wayland/pspec.xml b/desktop/toolkit/qt5/qt5-wayland/pspec.xml index 2ba500aca7..6339feaa63 100755 --- a/desktop/toolkit/qt5/qt5-wayland/pspec.xml +++ b/desktop/toolkit/qt5/qt5-wayland/pspec.xml @@ -85,6 +85,13 @@ + + 2021-12-11 + 5.15.2 + Rebuild kde patch + Mustafa Cinasal + muscnsl@gmail.com + 2021-11-10 5.15.2