X11 implementation of clipboard pasting.

This commit is contained in:
Ralph Eastwood
2011-09-21 15:43:28 +01:00
parent 31c91545be
commit 57522db6e2
7 changed files with 147 additions and 5 deletions
+13
View File
@@ -1381,6 +1381,19 @@ static void processSingleEvent(void)
break;
}
case SelectionNotify:
{
// Selection notification triggered by the XConvertSelection
// Check if the notification property matches the request
if (event.xselection.property != _glfwLibrary.X11.selection.request)
_glfwLibrary.X11.selection.converted = 2;
else // It was successful
_glfwLibrary.X11.selection.converted = 1;
break;
}
// Was the window destroyed?
case DestroyNotify:
return;