From f3a6f3c502536c0bac7f845d8f1e3179aa1a0365 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Sun, 23 Oct 2022 00:01:33 +0400 Subject: Implement window alert with xdg-activation This is implemented by not specifying serial, as mentioned in https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/9#note_854977 Tested on KDE Plasma Change-Id: I4ef0975040bbce581b615b0318f90601e080235c Reviewed-by: David Edmundson --- src/client/qwaylandwindow_p.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client/qwaylandwindow_p.h') diff --git a/src/client/qwaylandwindow_p.h b/src/client/qwaylandwindow_p.h index 298f3f2df..2e68cc2e4 100644 --- a/src/client/qwaylandwindow_p.h +++ b/src/client/qwaylandwindow_p.h @@ -143,6 +143,9 @@ public: void setMask(const QRegion ®ion) override; + void setAlertState(bool enabled) override; + bool isAlertState() const override; + qreal scale() const; qreal devicePixelRatio() const override; -- cgit v1.2.3