mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-05 21:02:39 +08:00
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:
@@ -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) ||
|
||||
|
||||
Reference in New Issue
Block a user