summaryrefslogtreecommitdiffstats
path: root/tests/auto/client/shared/textinput.cpp
blob: ee7e9ff9b29164bcdfd466adc00b4234cecf18ba (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 WITH Qt-GPL-exception-1.0

#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