From b81f16fbd5d6369e403398e0f805aad055a4f10c Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 19 Jul 2022 17:19:40 +0300 Subject: [PATCH] x11: Remove unused field in EglOnXBackend --- src/backends/x11/common/eglonxbackend.cpp | 2 -- src/backends/x11/common/eglonxbackend.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/backends/x11/common/eglonxbackend.cpp b/src/backends/x11/common/eglonxbackend.cpp index 76400c8125..6708282932 100644 --- a/src/backends/x11/common/eglonxbackend.cpp +++ b/src/backends/x11/common/eglonxbackend.cpp @@ -31,7 +31,6 @@ EglOnXBackend::EglOnXBackend(Display *display) , m_connection(connection()) , m_x11Display(display) , m_rootWindow(rootWindow()) - , m_x11ScreenNumber(kwinApp()->x11ScreenNumber()) { // Egl is always direct rendering setIsDirectRendering(true); @@ -44,7 +43,6 @@ EglOnXBackend::EglOnXBackend(xcb_connection_t *connection, Display *display, xcb , m_connection(connection) , m_x11Display(display) , m_rootWindow(rootWindow) - , m_x11ScreenNumber(screenNumber) , m_renderingWindow(renderingWindow) { // Egl is always direct rendering diff --git a/src/backends/x11/common/eglonxbackend.h b/src/backends/x11/common/eglonxbackend.h index b2b1f12c5b..a2c8264abf 100644 --- a/src/backends/x11/common/eglonxbackend.h +++ b/src/backends/x11/common/eglonxbackend.h @@ -60,7 +60,6 @@ private: xcb_connection_t *m_connection; Display *m_x11Display; xcb_window_t m_rootWindow; - int m_x11ScreenNumber; xcb_window_t m_renderingWindow = XCB_WINDOW_NONE; bool m_havePlatformBase = false; };