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>
bb10
Kai Uwe Broulik 2024-03-12 12:49:17 +01:00
parent f39f2bfe0b
commit 8013b643c2
1 changed files with 2 additions and 0 deletions

View File

@ -126,6 +126,8 @@ public:
Q_SIGNALS:
void surfaceCreated();
void surfaceDestroyed();
void surfaceRoleCreated();
void surfaceRoleDestroyed();
void xdgActivationTokenCreated(const QString &token);
protected: