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:
parent
f052d126c0
commit
eb2a202834
|
@ -279,6 +279,7 @@ void CXWindowsScreen::getDisplayClipboard(
|
||||||
// don't update clipboard object if clipboard hasn't changed. ask
|
// don't update clipboard object if clipboard hasn't changed. ask
|
||||||
// the selection for the tiemstamp when it acquired the selection.
|
// the selection for the tiemstamp when it acquired the selection.
|
||||||
Atom format;
|
Atom format;
|
||||||
|
/* XXX -- timestamp not always updated when clipboard is changed
|
||||||
CString data;
|
CString data;
|
||||||
if (getDisplayClipboard(selection, m_atomTimestamp,
|
if (getDisplayClipboard(selection, m_atomTimestamp,
|
||||||
requestor, timestamp, &format, &data) &&
|
requestor, timestamp, &format, &data) &&
|
||||||
|
@ -294,6 +295,7 @@ void CXWindowsScreen::getDisplayClipboard(
|
||||||
// use clipboard owner's time as timestamp
|
// use clipboard owner's time as timestamp
|
||||||
timestamp = time;
|
timestamp = time;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// clear the clipboard object
|
// clear the clipboard object
|
||||||
if (!clipboard->open(timestamp)) {
|
if (!clipboard->open(timestamp)) {
|
||||||
|
|
Loading…
Reference in New Issue