summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorKai Uwe Broulik <kde@privat.broulik.de>2024-03-12 12:49:17 +0100
committerKai Uwe Broulik <kde@privat.broulik.de>2024-04-10 20:01:06 +0100
commit8013b643c2e1acbad4963db8e00e159931316721 (patch)
treef7d359c93429d30f090ff709b134fee995a60e28 /src/gui
parentf39f2bfe0b216252980c082b1771540dd00e6bd6 (diff)
QWaylandWindow: Add surfaceRoleCreated/Destroyed signals
There are many APIs in Wayland that require a surface role to be assigned (e.g. XDG Toplevel) before they can be used, where the surfaceCreated() signal is too early. Change-Id: I400a6279f21554267259f812a2efb33451b4709b Reviewed-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qplatformwindow_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformwindow_p.h b/src/gui/kernel/qplatformwindow_p.h
index e24f983975..2bbdfd5bf9 100644
--- a/src/gui/kernel/qplatformwindow_p.h
+++ b/src/gui/kernel/qplatformwindow_p.h
@@ -126,6 +126,8 @@ public:
Q_SIGNALS:
void surfaceCreated();
void surfaceDestroyed();
+ void surfaceRoleCreated();
+ void surfaceRoleDestroyed();
void xdgActivationTokenCreated(const QString &token);
protected: