From c90dbfab6f0f7f295b8b4b211223ea6e82a1021d Mon Sep 17 00:00:00 2001 From: DDoSolitary Date: Wed, 22 Jan 2025 22:26:53 +0800 Subject: [PATCH] xwayland: fix clipboard mime name and atom mismatch (#9137) --- src/xwayland/XDataSource.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xwayland/XDataSource.cpp b/src/xwayland/XDataSource.cpp index 54b23937d..181955a8c 100644 --- a/src/xwayland/XDataSource.cpp +++ b/src/xwayland/XDataSource.cpp @@ -34,7 +34,8 @@ CXDataSource::CXDataSource(SXSelection& sel_) : selection(sel_) { continue; mimeTypes.push_back(type); - } + } else + continue; mimeAtoms.push_back(value[i]); }