Implement drag and drop of text/plain for Wayland as well

This commit is contained in:
Kovid Goyal
2020-03-19 13:00:52 +05:30
parent e827e6fa21
commit 2458c3a7c6
17 changed files with 205 additions and 226 deletions

3
glfw/x11_init.c vendored
View File

@@ -384,9 +384,6 @@ static bool initExtensions(void)
_glfw.x11.XdndFinished = XInternAtom(_glfw.x11.display, "XdndFinished", False);
_glfw.x11.XdndSelection = XInternAtom(_glfw.x11.display, "XdndSelection", False);
_glfw.x11.XdndTypeList = XInternAtom(_glfw.x11.display, "XdndTypeList", False);
_glfw.x11.text_uri_list = XInternAtom(_glfw.x11.display, "text/uri-list", False);
_glfw.x11.text_plain = XInternAtom(_glfw.x11.display, "text/plain", False);
_glfw.x11.text_plain_utf8 = XInternAtom(_glfw.x11.display, "text/plain;charset=utf-8", False);
// ICCCM, EWMH and Motif window property atoms
// These can be set safely even without WM support