forked from quickshell/quickshell
Internally this also refactors a ton of code around the wayland layershell. Note that attachment failures are still broken and platform interfaces are hardcoded.
21 lines
857 B
C++
21 lines
857 B
C++
#pragma once
|
|
|
|
#include <private/qwaylandshellintegration_p.h>
|
|
#include <private/qwaylandshellsurface_p.h>
|
|
#include <qtwaylandclientexports.h>
|
|
#include <qwayland-wlr-layer-shell-unstable-v1.h>
|
|
|
|
class QSWaylandLayerShellIntegration
|
|
: public QtWaylandClient::QWaylandShellIntegrationTemplate<QSWaylandLayerShellIntegration>
|
|
, public QtWayland::zwlr_layer_shell_v1 {
|
|
public:
|
|
QSWaylandLayerShellIntegration();
|
|
~QSWaylandLayerShellIntegration() override;
|
|
QSWaylandLayerShellIntegration(QSWaylandLayerShellIntegration&&) = delete;
|
|
QSWaylandLayerShellIntegration(const QSWaylandLayerShellIntegration&) = delete;
|
|
void operator=(QSWaylandLayerShellIntegration&&) = delete;
|
|
void operator=(const QSWaylandLayerShellIntegration&) = delete;
|
|
|
|
QtWaylandClient::QWaylandShellSurface* createShellSurface(QtWaylandClient::QWaylandWindow* window
|
|
) override;
|
|
};
|