< prev index next >

src/java.desktop/unix/classes/sun/awt/X11/XDnDDropTargetProtocol.java

Print this page

        

*** 618,628 **** y = p.y; } /* Time stamp - new in XDnD version 1. */ if (sourceProtocolVersion > 0) { ! time_stamp = xclient.get_data(3); } /* User action - new in XDnD version 2. */ if (sourceProtocolVersion > 1) { xdnd_action = xclient.get_data(4); --- 618,628 ---- y = p.y; } /* Time stamp - new in XDnD version 1. */ if (sourceProtocolVersion > 0) { ! time_stamp = xclient.get_data(3) & 0xFFFFFFFFL; } /* User action - new in XDnD version 2. */ if (sourceProtocolVersion > 1) { xdnd_action = xclient.get_data(4);
*** 865,875 **** * The XDnD protocol recommends that the target requests the special * target DELETE in case if the drop action is XdndActionMove. */ if (dropAction == DnDConstants.ACTION_MOVE && success) { ! long time_stamp = xclient.get_data(2); long xdndSelectionAtom = XDnDConstants.XDnDSelection.getSelectionAtom().getAtom(); XToolkit.awtLock(); try { --- 865,875 ---- * The XDnD protocol recommends that the target requests the special * target DELETE in case if the drop action is XdndActionMove. */ if (dropAction == DnDConstants.ACTION_MOVE && success) { ! long time_stamp = xclient.get_data(2) & 0xFFFFFFFFL; long xdndSelectionAtom = XDnDConstants.XDnDSelection.getSelectionAtom().getAtom(); XToolkit.awtLock(); try {
< prev index next >