void X11DragDrop::dndPosition( ldata_t data )
{
Window src = data[0];
- //Time time = data[3];
m_xPos = data[2] >> 16;
m_yPos = data[2] & 0xffff;
+ Time time = data[3];
Atom selectionAtom = XInternAtom( XDISPLAY, "XdndSelection", 0 );
//Atom targetAtom = XInternAtom( XDISPLAY, "text/plain", 0 );
// Convert the selection into the given target
// NEEDED or it doesn't work!
XConvertSelection( XDISPLAY, selectionAtom, targetAtom, propAtom, src,
- CurrentTime );
+ time );
actionAtom = XInternAtom( XDISPLAY, "XdndActionCopy", 0 );
typeAtom = XInternAtom( XDISPLAY, "XdndStatus", 0 );