diff options
| author | davc0n <dconti.dev@gmail.com> | 2025-05-07 15:21:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-07 15:21:44 +0200 |
| commit | e5df8cdc6227e35fa225acd15cdcc75abe3347cb (patch) | |
| tree | 8f2dfecfe5bda7188240fc2676c559ec75beb307 /src/xwayland/XWayland.cpp | |
| parent | f8bbe5124c0012865ea36f52d304313084a31fe9 (diff) | |
xwayland: refactor class member vars (#10312)
* xwayland: refactor class member vars
* xwayland: fix pure wayland build
Diffstat (limited to 'src/xwayland/XWayland.cpp')
| -rw-r--r-- | src/xwayland/XWayland.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<CXWaylandServer>(); + m_server = makeUnique<CXWaylandServer>(); - 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 } |
