Fix dropping text & URL's from google-chrome in X11

Chrome would only drop into windows supporting v5 of the XDND spec,
resolve by bumping the version and no other changes.

From looking into the changes between v3 & v5 they mainly relate to
dragging files between windows & dragging onto the root window.
Since Blender does neither, bump the version to allow dragging
links from google-chrome.
This commit is contained in:
Campbell Barton 2024-02-20 16:13:17 +11:00
parent f263b77656
commit 3de35c62b4
1 changed files with 5 additions and 1 deletions

6
extern/xdnd/xdnd.h vendored
View File

@ -26,7 +26,11 @@ extern "C" {
/* you can set this to either 2 (which support 0 and 1 as well) or 3 */
/* #define XDND_VERSION 2 */
#define XDND_VERSION 3
/* NOTE(@ideasman42): Use version 5 otherwise the chrome browser can't drop URL or text data.
* Ideally all aspects of the updated specification would also be supported although none seem
* essential for use in Blender, see: https://www.freedesktop.org/wiki/Specifications/XDND/ */
#define XDND_VERSION 5
/* XdndEnter */