diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-08-23 09:20:00 +0200 |
---|---|---|
committer | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2019-08-26 16:27:46 +0200 |
commit | da5e5e6c8ec0f311b33731b56d77181f8244a2e6 (patch) | |
tree | 2377541d836a65f00821f6a4521d213bc473aed2 /tests/auto/client | |
parent | 59c076b2e774e50b7a63bd9c3e3e6d55582063d5 (diff) | |
download | qtwayland-da5e5e6c8ec0f311b33731b56d77181f8244a2e6.tar.gz |
Client tests: Fix incorrect test for keyboard capability
Change-Id: I4e35e86f489941dcce986ba416f3fe55d968d186
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'tests/auto/client')
-rw-r--r-- | tests/auto/client/shared/coreprotocol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/client/shared/coreprotocol.cpp b/tests/auto/client/shared/coreprotocol.cpp index fcc9f311..5f51e417 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"; |