summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2019-08-23 09:20:00 +0200
committerJohan Klokkhammer Helsing <johan.helsing@qt.io>2019-08-26 16:27:46 +0200
commitda5e5e6c8ec0f311b33731b56d77181f8244a2e6 (patch)
tree2377541d836a65f00821f6a4521d213bc473aed2 /tests
parent59c076b2e774e50b7a63bd9c3e3e6d55582063d5 (diff)
Client tests: Fix incorrect test for keyboard capability
Change-Id: I4e35e86f489941dcce986ba416f3fe55d968d186 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/client/shared/coreprotocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/client/shared/coreprotocol.cpp b/tests/auto/client/shared/coreprotocol.cpp
index fcc9f311c..5f51e4177 100644
--- a/tests/auto/client/shared/coreprotocol.cpp
+++ b/tests/auto/client/shared/coreprotocol.cpp
@@ -239,7 +239,7 @@ void Seat::seat_get_pointer(Resource *resource, uint32_t id)
void Seat::seat_get_keyboard(QtWaylandServer::wl_seat::Resource *resource, uint32_t id)
{
- if (~m_capabilities & capability_pointer) {
+ if (~m_capabilities & capability_keyboard) {
qWarning() << "Client requested a wl_keyboard without the capability being available."
<< "This Could be a race condition when hotunplugging,"
<< "but is most likely a client error";