Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix bug caused by dragging file from desktop through dock handle #16936
The problem is that, while the workspace element only cares about drags originating from the current document, the same isn't true of the "dragenter" event that that dock uses. Rather than trying to handle this class of events specially in the dock, we simply limit our listening to when something is being dragged. Since we have a single source of truth for this information, this should be resilient to future changes in logic.