KWin
Loading...
Searching...
No Matches
layershellv1integration.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
10
11namespace KWin
12{
13
14class LayerSurfaceV1Interface;
15
17{
18 Q_OBJECT
19
20public:
21 explicit LayerShellV1Integration(QObject *parent = nullptr);
22
23 void rearrange();
24 void scheduleRearrange();
25
26 void createWindow(LayerSurfaceV1Interface *shellSurface);
27 void recreateWindow(LayerSurfaceV1Interface *shellSurface);
28 void destroyWindow(LayerSurfaceV1Interface *shellSurface);
29
30private:
31 QTimer *m_rearrangeTimer;
32};
33
34} // namespace KWin
void destroyWindow(LayerSurfaceV1Interface *shellSurface)
void createWindow(LayerSurfaceV1Interface *shellSurface)
LayerShellV1Integration(QObject *parent=nullptr)
void recreateWindow(LayerSurfaceV1Interface *shellSurface)