src/solaris/classes/sun/awt/X11/XDnDDragSourceProtocol.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 281,291 **** assert getTargetWindow() != 0; assert formats != null; XClientMessageEvent msg = new XClientMessageEvent(); try { ! msg.set_type((int)XConstants.ClientMessage); msg.set_window(getTargetWindow()); msg.set_format(32); msg.set_message_type(XDnDConstants.XA_XdndEnter.getAtom()); msg.set_data(0, XDragSourceProtocol.getDragSourceWindow()); long data1 = --- 281,291 ---- assert getTargetWindow() != 0; assert formats != null; XClientMessageEvent msg = new XClientMessageEvent(); try { ! msg.set_type(XConstants.ClientMessage); msg.set_window(getTargetWindow()); msg.set_format(32); msg.set_message_type(XDnDConstants.XA_XdndEnter.getAtom()); msg.set_data(0, XDragSourceProtocol.getDragSourceWindow()); long data1 =
*** 309,319 **** assert XToolkit.isAWTLockHeldByCurrentThread(); assert getTargetWindow() != 0; XClientMessageEvent msg = new XClientMessageEvent(); try { ! msg.set_type((int)XConstants.ClientMessage); msg.set_window(getTargetWindow()); msg.set_format(32); msg.set_message_type(XDnDConstants.XA_XdndPosition.getAtom()); msg.set_data(0, XDragSourceProtocol.getDragSourceWindow()); msg.set_data(1, 0); /* flags */ --- 309,319 ---- assert XToolkit.isAWTLockHeldByCurrentThread(); assert getTargetWindow() != 0; XClientMessageEvent msg = new XClientMessageEvent(); try { ! msg.set_type(XConstants.ClientMessage); msg.set_window(getTargetWindow()); msg.set_format(32); msg.set_message_type(XDnDConstants.XA_XdndPosition.getAtom()); msg.set_data(0, XDragSourceProtocol.getDragSourceWindow()); msg.set_data(1, 0); /* flags */
*** 333,343 **** assert XToolkit.isAWTLockHeldByCurrentThread(); assert getTargetWindow() != 0; XClientMessageEvent msg = new XClientMessageEvent(); try { ! msg.set_type((int)XConstants.ClientMessage); msg.set_window(getTargetWindow()); msg.set_format(32); msg.set_message_type(XDnDConstants.XA_XdndLeave.getAtom()); msg.set_data(0, XDragSourceProtocol.getDragSourceWindow()); msg.set_data(1, 0); --- 333,343 ---- assert XToolkit.isAWTLockHeldByCurrentThread(); assert getTargetWindow() != 0; XClientMessageEvent msg = new XClientMessageEvent(); try { ! msg.set_type(XConstants.ClientMessage); msg.set_window(getTargetWindow()); msg.set_format(32); msg.set_message_type(XDnDConstants.XA_XdndLeave.getAtom()); msg.set_data(0, XDragSourceProtocol.getDragSourceWindow()); msg.set_data(1, 0);
*** 359,369 **** assert XToolkit.isAWTLockHeldByCurrentThread(); assert getTargetWindow() != 0; XClientMessageEvent msg = new XClientMessageEvent(); try { ! msg.set_type((int)XConstants.ClientMessage); msg.set_window(getTargetWindow()); msg.set_format(32); msg.set_message_type(XDnDConstants.XA_XdndDrop.getAtom()); msg.set_data(0, XDragSourceProtocol.getDragSourceWindow()); msg.set_data(1, 0); /* flags */ --- 359,369 ---- assert XToolkit.isAWTLockHeldByCurrentThread(); assert getTargetWindow() != 0; XClientMessageEvent msg = new XClientMessageEvent(); try { ! msg.set_type(XConstants.ClientMessage); msg.set_window(getTargetWindow()); msg.set_format(32); msg.set_message_type(XDnDConstants.XA_XdndDrop.getAtom()); msg.set_data(0, XDragSourceProtocol.getDragSourceWindow()); msg.set_data(1, 0); /* flags */