diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2016-10-10 18:01:43 +0200 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2016-10-11 09:43:26 +0000 |
commit | e3cc20df4290ef0364206e930ed43ae06bd6ed58 (patch) | |
tree | 7321649c8bbe8f1bf2b3b53eeb89611de46a717d /tests/auto/client/client/mockinput.h | |
parent | acb37c995a93b208540d73dc9035d924db3d646d (diff) |
Clients tests: Don't send leave events for destroyed surfaces
Change-Id: Ia7dd13f629439b116f494ff8b7432020a65ea1df
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'tests/auto/client/client/mockinput.h')
-rw-r--r-- | tests/auto/client/client/mockinput.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/client/client/mockinput.h b/tests/auto/client/client/mockinput.h index 031be2a4a..7e88ffb0f 100644 --- a/tests/auto/client/client/mockinput.h +++ b/tests/auto/client/client/mockinput.h @@ -75,6 +75,7 @@ public: Surface *focus() const { return m_focus; } void setFocus(Surface *surface); + void handleSurfaceDestroyed(Surface *surface); void sendKey(uint32_t key, uint32_t state); @@ -97,6 +98,7 @@ public: Surface *focus() const { return m_focus; } void setFocus(Surface *surface, const QPoint &pos); + void handleSurfaceDestroyed(Surface *surface); void sendMotion(const QPoint &pos); void sendButton(uint32_t button, uint32_t state); |