KWin
Loading...
Searching...
No Matches
src
wayland
compositor.h
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: 2014 Martin Gräßlin <mgraesslin@kde.org>
3
SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
4
5
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6
*/
7
#pragma once
8
9
#include "kwin_export.h"
10
11
#include "
surface.h
"
12
13
#include <QObject>
14
15
namespace
KWin
16
{
17
class
CompositorInterfacePrivate;
18
class
Display
;
19
25
class
KWIN_EXPORT
CompositorInterface
:
public
QObject
26
{
27
Q_OBJECT
28
29
public
:
30
explicit
CompositorInterface
(
Display
*display, QObject *parent =
nullptr
);
31
~CompositorInterface
()
override
;
32
36
Display
*display()
const
;
37
38
Q_SIGNALS:
42
void
surfaceCreated
(
KWin::SurfaceInterface
*surface);
43
44
private
:
45
std::unique_ptr<CompositorInterfacePrivate> d;
46
};
47
48
}
// namespace KWin
KWin::CompositorInterface
Definition
compositor.h:26
KWin::CompositorInterface::surfaceCreated
void surfaceCreated(KWin::SurfaceInterface *surface)
KWin::Display
Class holding the Wayland server display loop.
Definition
display.h:34
KWin::SurfaceInterface
Resource representing a wl_surface.
Definition
surface.h:80
KWin
Definition
activation_test.cpp:20
surface.h
Display
struct _XDisplay Display
Definition
x11_standalone_egl_backend.h:18
Generated on Sat Feb 17 2024 01:42:10 for KWin by
1.10.0