changed lesstif hack to only apply to the CLIPBOARD selection.

apprently the PRIMARY selection must follow the ICCCM protocol
correctly.
This commit is contained in:
crs 2002-05-27 17:05:34 +00:00
parent 56d7271bc1
commit f8eb775278
1 changed files with 2 additions and 1 deletions

View File

@ -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) ||