RFR: 8280994: [XWayland] Drag and Drop does not work in java -> wayland app direction [v2]

Alexander Zvegintsev azvegint at openjdk.org
Thu Jun 1 18:38:29 UTC 2023


On Thu, 1 Jun 2023 17:24:34 GMT, Phil Race <prr at openjdk.org> wrote:

>> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fix toolkit if condition
>
> src/java.desktop/unix/classes/sun/awt/X11/XDragSourceContextPeer.java line 408:
> 
>> 406:      */
>> 407:     private static boolean isXWaylandDndAwareWindow(long window) {
>> 408:         if (Toolkit.getDefaultToolkit() instanceof SunToolkit sunToolkit
> 
> So if it is NOT an instance of sunToolkit .. then you carry on to the code that gets the property.
> Is that what you meant to happen ?

Fixed.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/14266#discussion_r1213533156



More information about the client-libs-dev mailing list