Skip to content

Fix DND coordinates on Windows

Luca Bacci requested to merge lb90/gtk:fix-dnd-coordinates-on-windows into master

This MR fixes some of the issues with DND handling on Windows, specifically those issues in relation to pointer input. It's comprised of two commits:

  1. The first commit makes the DND indicator surface transparent w.r.t pointer input. This is required in order to avoid making the DND indicator itself a target of the DND operation, which otherwise would render the DND non-functional.

  2. The second commit fixes some mismatches where screen coordinates are passed as surface-relative coordinates and viceversa.

A very useful test for this MR is tests/testdnd.

Edited by Luca Bacci

Merge request reports