1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00
JUCE/modules
reuk 146c8573ca
X11: Fix drag-n-drop bug in the XWindowSystem class
This resolves a regression which was introduced in
74ca3b44c4.

Prior to that commit, drag and drop on Linux/X11 worked as expected.
DragAndDropContainer::performExternalDragDropOfFiles allowed dropping
files onto other applications.

After the faulty commit, this function may cause the window manager to
enter a bad state in which the drag operation never finishes, making it
impossible to switch between windows or close windows.

I think the issue happens because the DnD source may receive (spurious?)
XdndLeave messages during the drag, which cause the peer's entry in the
dragAndDropStateMap to be removed. Before the faulty commit, each peer
had its own drag and drop state object, which was not destroyed in this
way.

This change will keep the peer's drag state object alive, even when an
XdndLeave message is received. The entry will still be removed when the
peer's window is destroyed.
2021-04-14 12:36:48 +01:00
..
juce_analytics Fixed a data race in ThreadedAnalyticsDestination 2021-03-25 18:24:11 +00:00
juce_audio_basics ADSR: Fixed a test failure with small sustain lengths 2021-03-31 17:21:42 +01:00
juce_audio_devices UMP Tests: Add support for building with MinGW 2021-04-07 16:24:38 +01:00
juce_audio_formats BufferingAudioReader: Added some tests 2021-04-08 11:51:42 +01:00
juce_audio_plugin_client VST3: Added a missing return in the previous commit 2021-04-14 11:44:13 +01:00
juce_audio_processors VST3 Host: Ensure IEditController::setParamNormalized is only called from the message thread 2021-04-09 12:19:22 +01:00
juce_audio_utils AudioProcessorPlayer: Support MIDI effect processors 2021-04-09 16:45:02 +01:00
juce_blocks_basics Bump version number to 6.0.8 2021-03-22 09:24:48 +00:00
juce_box2d Bump version number to 6.0.8 2021-03-22 09:24:48 +00:00
juce_core File: Use unit test random instance to generate unique filename 2021-04-09 10:26:28 +01:00
juce_cryptography Bump version number to 6.0.8 2021-03-22 09:24:48 +00:00
juce_data_structures Added preliminary support for FreeBSD 2021-03-29 14:16:46 +01:00
juce_dsp DSP: Fix uses of "snap to zero" preprocessor definition 2021-04-12 10:57:19 +01:00
juce_events MessageMananger: Made dispatchNextMessageOnSystemQueue() accessible by internal code 2021-04-13 16:25:04 +01:00
juce_graphics Added preliminary support for FreeBSD 2021-03-29 14:16:46 +01:00
juce_gui_basics X11: Fix drag-n-drop bug in the XWindowSystem class 2021-04-14 12:36:48 +01:00
juce_gui_extra Fixed some file permissions 2021-03-31 10:12:59 +01:00
juce_opengl Added preliminary support for FreeBSD 2021-03-29 14:16:46 +01:00
juce_osc Bump version number to 6.0.8 2021-03-22 09:24:48 +00:00
juce_product_unlocking Added preliminary support for FreeBSD 2021-03-29 14:16:46 +01:00
juce_video Added preliminary support for FreeBSD 2021-03-29 14:16:46 +01:00
CMakeLists.txt Updated all license headers 2020-06-29 08:30:22 +01:00