From cecd630b2e5561f3504236d9a076f237e48bc6f0 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Thu, 30 Nov 2023 14:16:11 +0100 Subject: [PATCH] wayland/xdgforeign_v2: Create UUID without braces They can be annoyin to type on the terminal, requiring escaping and what not. The protocol doesn't specify the format, so we can just drop them. --- src/wayland/xdgforeign_v2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland/xdgforeign_v2.cpp b/src/wayland/xdgforeign_v2.cpp index e30ed5ba2b..6af1a9d95e 100644 --- a/src/wayland/xdgforeign_v2.cpp +++ b/src/wayland/xdgforeign_v2.cpp @@ -18,7 +18,7 @@ static const quint32 s_importerVersion = 1; XdgExportedSurface::XdgExportedSurface(SurfaceInterface *surface) : QObject() - , m_handle(QUuid::createUuid().toString()) + , m_handle(QUuid::createUuid().toString(QUuid::WithoutBraces)) , m_surface(surface) { connect(m_surface, &QObject::destroyed, this, &XdgExportedSurface::handleSurfaceDestroyed);