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.
This commit is contained in:
crs 2002-05-01 16:30:20 +00:00
parent f052d126c0
commit eb2a202834
1 changed files with 2 additions and 0 deletions

View File

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