+ ErrorF(" Set sel [%s], target [%s], prop [%s] to UTF-8 string [%s]\n",NameForAtom(selection),NameForAtom(target),NameForAtom(property),pszData);
+#endif
+ /* Copy the clipboard text to the requesting window */
+ ChangeWindowProperty(pWin,
+ property,
+ target,
+ 8,
+ PropModeReplace,
+ strlen(pszData),
+ pszData, 1);
+ }
+ else
+ {
+#ifdef NXWIN_CLIPBOARD_DEBUG
+ ErrorF(" Set sel [%s], target [%s], prop [%s] to CP-1251 string [%s]\n",NameForAtom(selection),NameForAtom(target),NameForAtom(property),pszGlobalData);
+#endif
/* Copy the clipboard text to the requesting window */