KWin
Loading...
Searching...
No Matches
tearingcontrol_v1.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2022 Xaver Hugl <xaver.hugl@gmail.com>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6#pragma once
7
8#include "surface.h"
9
10#include "qwayland-server-tearing-control-v1.h"
11
12#include <QObject>
13
14namespace KWin
15{
16
17class TearingControlManagerV1InterfacePrivate;
18class TearingControlV1Interface;
19class Display;
20
22{
23 Q_OBJECT
24public:
25 TearingControlManagerV1Interface(Display *display, QObject *parent = nullptr);
27
28private:
29 std::unique_ptr<TearingControlManagerV1InterfacePrivate> d;
30};
31}
Class holding the Wayland server display loop.
Definition display.h:34
TearingControlManagerV1Interface(Display *display, QObject *parent=nullptr)
struct _XDisplay Display