From eb2a202834613474eab0da003257b62053059d1c Mon Sep 17 00:00:00 2001 From: crs Date: Wed, 1 May 2002 16:30:20 +0000 Subject: [PATCH] Was trying to avoid sending clipboard if timestamp wasn't changed but clipboard owners may not update that timestamp when the selection is changed. Disabled the timestamp check. --- synergy/CXWindowsScreen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synergy/CXWindowsScreen.cpp b/synergy/CXWindowsScreen.cpp index 0aee857f..377a3da7 100644 --- a/synergy/CXWindowsScreen.cpp +++ b/synergy/CXWindowsScreen.cpp @@ -279,6 +279,7 @@ void CXWindowsScreen::getDisplayClipboard( // don't update clipboard object if clipboard hasn't changed. ask // the selection for the tiemstamp when it acquired the selection. Atom format; +/* XXX -- timestamp not always updated when clipboard is changed CString data; if (getDisplayClipboard(selection, m_atomTimestamp, requestor, timestamp, &format, &data) && @@ -294,6 +295,7 @@ void CXWindowsScreen::getDisplayClipboard( // use clipboard owner's time as timestamp timestamp = time; } +*/ // clear the clipboard object if (!clipboard->open(timestamp)) {