mirror of
https://github.com/glfw/glfw.git
synced 2024-11-21 12:34:36 +00:00
Wayland: Cleanup
This commit is contained in:
parent
64906f8e64
commit
b35641f4a3
@ -2042,6 +2042,7 @@ static void dataDeviceHandleDrop(void* userData,
|
||||
int count;
|
||||
char** paths = _glfwParseUriList(string, &count);
|
||||
if (paths)
|
||||
{
|
||||
_glfwInputDrop(_glfw.wl.dragFocus, count, (const char**) paths);
|
||||
|
||||
for (int i = 0; i < count; i++)
|
||||
@ -2052,6 +2053,7 @@ static void dataDeviceHandleDrop(void* userData,
|
||||
|
||||
_glfw_free(string);
|
||||
}
|
||||
}
|
||||
|
||||
static void dataDeviceHandleSelection(void* userData,
|
||||
struct wl_data_device* device,
|
||||
|
Loading…
Reference in New Issue
Block a user