Nikita Tsarev 0157189e36 JBR-9591 Wayland: Fix wrong DnD action on KWin
This patch implements a workaround for a bug that exists on KWin 6.5. For
some reason, KWin sends a wl_data_source.action(0) event immediately
after wl_data_source.dnd_drop_finished(). This makes the drag source
think that the DnD operation failed, even though it succeeded.
The workaround it to ignore the wl_data_source.action() events
after a successful wl_data_source.dnd_drop_finished()

In addition to this, this patch also fixes some inconsistency with
translating between AWT and Wayland DnD operation masks. This doesn't
have any visible effect though, since the mask values happen to be the
same.
2025-12-06 01:03:48 +01:00
2025-12-06 01:03:21 +01:00
2025-12-06 01:02:55 +01:00
2025-12-06 01:01:28 +01:00
2016-05-30 16:17:11 +02:00
2025-12-06 01:01:46 +01:00
2024-09-25 16:25:23 +00:00

official JetBrains project

Welcome to the JDK!

For build instructions please see the online documentation, or either of these files:

See https://openjdk.org/ for more information about the OpenJDK Community and the JDK and see https://bugs.openjdk.org for JDK issue tracking.

Description
Runtime environment based on OpenJDK for running IntelliJ Platform-based products on Windows, macOS, and Linux
Readme GPL-2.0 1.3 GiB
Languages
Java 73.7%
C++ 14%
C 8.1%
Assembly 2.7%
Objective-C 0.5%
Other 0.8%