[DEV] correction of the clipboard copy and middle to export
This commit is contained in:
parent
f71053f2f6
commit
a7d4bf13fa
@ -670,7 +670,6 @@ void X11_Run(void)
|
|||||||
if (NULL != atomNameTarget) { XFree(atomNameTarget); }
|
if (NULL != atomNameTarget) { XFree(atomNameTarget); }
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
const char * magatTextToSend = NULL;
|
|
||||||
|
|
||||||
etk::UString tmpData = "";
|
etk::UString tmpData = "";
|
||||||
if (req->selection == XAtomeSelection) {
|
if (req->selection == XAtomeSelection) {
|
||||||
@ -678,7 +677,8 @@ void X11_Run(void)
|
|||||||
} else if (req->selection == XAtomeClipBoard) {
|
} else if (req->selection == XAtomeClipBoard) {
|
||||||
tmpData = ewol::clipBoard::Get(ewol::clipBoard::clipboardStd);
|
tmpData = ewol::clipBoard::Get(ewol::clipBoard::clipboardStd);
|
||||||
}
|
}
|
||||||
magatTextToSend = tmpData.c_str();
|
etk::Char tmpValueStoredTimeToSend = tmpData.c_str();
|
||||||
|
const char * magatTextToSend = tmpValueStoredTimeToSend;
|
||||||
Atom listOfAtom[4];
|
Atom listOfAtom[4];
|
||||||
if(strlen(magatTextToSend) == 0 ) {
|
if(strlen(magatTextToSend) == 0 ) {
|
||||||
respond.xselection.property= None;
|
respond.xselection.property= None;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user