6#include "phosphorwayland_export.h"
37class PHOSPHORWAYLAND_EXPORT BackgroundEffect :
public QObject
61 [[nodiscard]] QRegion
blurRegion(
const QWindow* window)
const;
67 explicit BackgroundEffect(QObject* parent);
static BackgroundEffect * instance()
The process's instance, created on first use as a child of the application object.
bool isBlurSupported() const
Whether the compositor applies blur requested through this class right now: the protocol is advertise...
void setBlurRegion(QWindow *window, const QRegion ®ion)
Blur the backdrop behind region of window, in window-local logical coordinates (the coordinates a QQu...
void blurSupportedChanged(bool supported)
QRegion blurRegion(const QWindow *window) const
The region last set for window, whether or not it is applied.
Definition BackgroundEffect.h:15