Commit 856a6edf authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Fix testTabletInterface

parent a009c8c0
......@@ -155,6 +155,9 @@ public:
wl_resource *targetResource()
{
if (!m_surface)
return nullptr;
ClientConnection *client = m_surface->client();
const Resource *r = resourceMap().value(*client);
return r ? r->handle : nullptr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment