summaryrefslogtreecommitdiff
path: root/src/xwayland/XDataSource.cpp
diff options
context:
space:
mode:
authorDDoSolitary <DDoSolitary@gmail.com>2025-01-22 22:26:53 +0800
committerGitHub <noreply@github.com>2025-01-22 14:26:53 +0000
commitc90dbfab6f0f7f295b8b4b211223ea6e82a1021d (patch)
tree167972f9c836204703ee84718cbe33c1945d19a5 /src/xwayland/XDataSource.cpp
parentd335c8f10135e165a1085fd14134c659e4caf05a (diff)
xwayland: fix clipboard mime name and atom mismatch (#9137)
Diffstat (limited to 'src/xwayland/XDataSource.cpp')
-rw-r--r--src/xwayland/XDataSource.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xwayland/XDataSource.cpp b/src/xwayland/XDataSource.cpp
index 54b23937..181955a8 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]);
}