Fixed Linux uses wrong clipboard event #4601

This commit is contained in:
Jerry (Xinyu Hou) 2015-05-20 14:43:58 -07:00
parent 3e9fc89d96
commit 7dbe30cb61

View File

@ -1325,7 +1325,7 @@ XWindowsScreen::handleSystemEvent(const Event& event, void*)
if (id != kClipboardEnd) {
LOG((CLOG_DEBUG "lost clipboard %d ownership at time %d", id, xevent->xselectionclear.time));
m_clipboard[id]->lost(xevent->xselectionclear.time);
sendClipboardEvent(m_events->forIScreen().clipboardGrabbed(), id);
sendClipboardEvent(m_events->forClipboard().clipboardGrabbed(), id);
return;
}
}