summaryrefslogtreecommitdiffstats
path: root/tests/auto/client/shared/textinput.cpp
blob: fc4865d710f57fc6948ec5b09ce0a6ee56fc4c9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#include "textinput.h"

namespace MockCompositor {

TextInputManager::TextInputManager(CoreCompositor *compositor)
{
    init(compositor->m_display, 1);
}

void TextInputManager::zwp_text_input_manager_v2_get_text_input(Resource *resource, uint32_t id, wl_resource *seatResource)
{
    Q_UNUSED(seatResource);
    add(resource->client(), id, resource->version());
}

} // namespace MockCompositor