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

Fix testTabletInterface

parent d4dad00b
......@@ -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;
......
Supports Markdown
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