mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 01:19:28 +01:00
0157189e365afce3429b12d039810934728cf0d1
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.
Welcome to the JDK!
For build instructions please see the online documentation, or either of these files:
- doc/building.html (html version)
- doc/building.md (markdown version)
See https://openjdk.org/ for more information about the OpenJDK Community and the JDK and see https://bugs.openjdk.org for JDK issue tracking.
Languages
Java
73.7%
C++
14%
C
8.1%
Assembly
2.7%
Objective-C
0.5%
Other
0.8%