summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandwindow_p.h
diff options
context:
space:
mode:
authorIlya Fedin <fedin-ilja2010@ya.ru>2022-10-23 00:01:33 +0400
committerIlya Fedin <fedin-ilja2010@ya.ru>2022-10-23 17:19:05 +0400
commitf3a6f3c502536c0bac7f845d8f1e3179aa1a0365 (patch)
treeaecacfce845c0a646aa5e3cc91d228483a7ba1e4 /src/client/qwaylandwindow_p.h
parent47ebd2ae5e40f5d1228edd3a35d0272dcf545585 (diff)
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 <davidedmundson@kde.org>
Diffstat (limited to 'src/client/qwaylandwindow_p.h')
-rw-r--r--src/client/qwaylandwindow_p.h3
1 files changed, 3 insertions, 0 deletions
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 &region) override;
+ void setAlertState(bool enabled) override;
+ bool isAlertState() const override;
+
qreal scale() const;
qreal devicePixelRatio() const override;