From e3a5436c64959c60a23ecdecf27ca42a16fd0deb Mon Sep 17 00:00:00 2001 From: DDoSolitary Date: Wed, 22 Jan 2025 21:52:11 +0800 Subject: [PATCH] xwayland: fix clipboard mime name and atom mismatch --- 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 54b23937dc0..181955a8cbd 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]); }