mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-15 07:48:23 +00:00
managers: refactor class member vars (#10242)
This commit is contained in:
@@ -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<CSeatGrab>();
|
||||
grab->keyboard = true;
|
||||
grab->pointer = true;
|
||||
grab = makeShared<CSeatGrab>();
|
||||
grab->m_keyboard = true;
|
||||
grab->m_pointer = true;
|
||||
grab->setCallback([this]() {
|
||||
for (auto const& g : grabbed) {
|
||||
g->done();
|
||||
|
Reference in New Issue
Block a user