From ce821294e21978cadf4c3facbeec421b245ea2c9 Mon Sep 17 00:00:00 2001 From: davc0n Date: Fri, 2 May 2025 17:07:20 +0200 Subject: managers: refactor class member vars (#10242) --- src/protocols/XDGShell.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/protocols/XDGShell.cpp') diff --git a/src/protocols/XDGShell.cpp b/src/protocols/XDGShell.cpp index 59eca367..a82ba17e 100644 --- a/src/protocols/XDGShell.cpp +++ b/src/protocols/XDGShell.cpp @@ -764,9 +764,9 @@ void CXDGWMBase::ping() { } CXDGShellProtocol::CXDGShellProtocol(const wl_interface* iface, const int& ver, const std::string& name) : IWaylandProtocol(iface, ver, name) { - grab = makeShared(); - grab->keyboard = true; - grab->pointer = true; + grab = makeShared(); + grab->m_keyboard = true; + grab->m_pointer = true; grab->setCallback([this]() { for (auto const& g : grabbed) { g->done(); -- cgit v1.2.3