From f8eb775278736b21971f6a25f67d786e78709bb2 Mon Sep 17 00:00:00 2001 From: crs Date: Mon, 27 May 2002 17:05:34 +0000 Subject: [PATCH] changed lesstif hack to only apply to the CLIPBOARD selection. apprently the PRIMARY selection must follow the ICCCM protocol correctly. --- synergy/CXWindowsClipboard.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/synergy/CXWindowsClipboard.cpp b/synergy/CXWindowsClipboard.cpp index 30ade009..0ec423b7 100644 --- a/synergy/CXWindowsClipboard.cpp +++ b/synergy/CXWindowsClipboard.cpp @@ -908,7 +908,8 @@ bool CXWindowsClipboard::sendReply(CReply* reply) // it has a _MOTIF_CLIP_LOCK_ACCESS_VALID property // it does not have a GDK_SELECTION property CString dummy; - if (!CXWindowsUtil::getWindowProperty(m_display, + if (m_id != kClipboardClipboard || + !CXWindowsUtil::getWindowProperty(m_display, reply->m_requestor, m_atomMotifClipAccess, &dummy, NULL, NULL, False) ||