Fix testTabletInterface
This commit is contained in:
parent
d4dad00b52
commit
a20f5db598
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue