From 7dbe30cb6185e4ddfb38ef9384b278fb03836225 Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Wed, 20 May 2015 14:43:58 -0700 Subject: [PATCH] Fixed Linux uses wrong clipboard event #4601 --- src/lib/platform/XWindowsScreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/platform/XWindowsScreen.cpp b/src/lib/platform/XWindowsScreen.cpp index 14486de9..067c4f3e 100644 --- a/src/lib/platform/XWindowsScreen.cpp +++ b/src/lib/platform/XWindowsScreen.cpp @@ -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; } }