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

Alexander Zvegintsev azvegint at openjdk.org
Mon Jun 5 16:38:21 UTC 2023


On Thu, 1 Jun 2023 15:18:55 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

> This change resolves the issue that drag and drop from a Java application to a native Wayland application (such as gedit) is not possible on Linux.
> 
> Our code it quite picky for the drop target, and requires it to be a top level window with the WM_STATE property set, whereas the XWayland server provides dummy windows without this property.
> So now we make an exclusion for this case.
> 
> After the fix it successfully passes previously failed related manual jtreg/conformance tests on Wayland.
> Other tests are also passed.

This pull request has now been integrated.

Changeset: 73352b68
Author:    Alexander Zvegintsev <azvegint at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/73352b68c4e19929305ce430cb74ca850b752d22
Stats:     45 lines in 2 files changed: 44 ins; 0 del; 1 mod

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

Reviewed-by: prr, psadhukhan

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

PR: https://git.openjdk.org/jdk/pull/14266



More information about the client-libs-dev mailing list