mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Wayland: Cleanup
This commit is contained in:
@@ -2042,6 +2042,7 @@ static void dataDeviceHandleDrop(void* userData,
|
|||||||
int count;
|
int count;
|
||||||
char** paths = _glfwParseUriList(string, &count);
|
char** paths = _glfwParseUriList(string, &count);
|
||||||
if (paths)
|
if (paths)
|
||||||
|
{
|
||||||
_glfwInputDrop(_glfw.wl.dragFocus, count, (const char**) paths);
|
_glfwInputDrop(_glfw.wl.dragFocus, count, (const char**) paths);
|
||||||
|
|
||||||
for (int i = 0; i < count; i++)
|
for (int i = 0; i < count; i++)
|
||||||
@@ -2051,6 +2052,7 @@ static void dataDeviceHandleDrop(void* userData,
|
|||||||
}
|
}
|
||||||
|
|
||||||
_glfw_free(string);
|
_glfw_free(string);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void dataDeviceHandleSelection(void* userData,
|
static void dataDeviceHandleSelection(void* userData,
|
||||||
|
|||||||
Reference in New Issue
Block a user