summaryrefslogtreecommitdiffstats
path: root/client/x11
diff options
context:
space:
mode:
Diffstat (limited to 'client/x11')
-rw-r--r--client/x11/platform.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/x11/platform.cpp b/client/x11/platform.cpp
index 9fff947f..dbd2b6ab 100644
--- a/client/x11/platform.cpp
+++ b/client/x11/platform.cpp
@@ -2676,7 +2676,9 @@ static void handle_selection_notify(XEvent& event, bool incr)
if (clipboard_request_target == None)
LOG_INFO("SelectionNotify received without a target");
- else if (!incr && event.xselection.target != clipboard_request_target)
+ else if (!incr &&
+ event.xselection.target != clipboard_request_target &&
+ event.xselection.target != incr_atom)
LOG_WARN("Requested %s target got %s",
atom_name(clipboard_request_target),
atom_name(event.xselection.target));