From e5df8cdc6227e35fa225acd15cdcc75abe3347cb Mon Sep 17 00:00:00 2001 From: davc0n Date: Wed, 7 May 2025 15:21:44 +0200 Subject: xwayland: refactor class member vars (#10312) * xwayland: refactor class member vars * xwayland: fix pure wayland build --- src/xwayland/XWayland.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/xwayland/XWayland.cpp') diff --git a/src/xwayland/XWayland.cpp b/src/xwayland/XWayland.cpp index 1f78231f..f7bdf1e6 100644 --- a/src/xwayland/XWayland.cpp +++ b/src/xwayland/XWayland.cpp @@ -26,9 +26,9 @@ CXWayland::CXWayland(const bool wantsEnabled) { Debug::log(LOG, "Starting up the XWayland server"); - pServer = makeUnique(); + m_server = makeUnique(); - if (!pServer->create()) { + if (!m_server->create()) { Debug::log(ERR, "XWayland failed to start: it will not work."); return; } @@ -41,12 +41,12 @@ CXWayland::CXWayland(const bool wantsEnabled) { void CXWayland::setCursor(unsigned char* pixData, uint32_t stride, const Vector2D& size, const Vector2D& hotspot) { #ifndef NO_XWAYLAND - if (!pWM) { + if (!m_wm) { Debug::log(ERR, "Couldn't set XCursor: no XWM yet"); return; } - pWM->setCursor(pixData, stride, size, hotspot); + m_wm->setCursor(pixData, stride, size, hotspot); #endif } -- cgit v1.2.3