X11: Fix reading list of available mime types
This commit is contained in:
parent
26e8a5186a
commit
0b293428c4
2
glfw/x11_window.c
vendored
2
glfw/x11_window.c
vendored
@ -1033,7 +1033,7 @@ getSelectionString(Atom selection, Atom *targets, size_t num_targets, GLFWclipbo
|
|||||||
}
|
}
|
||||||
else if (actualType == XA_ATOM && targets[i] == _glfw.x11.TARGETS) {
|
else if (actualType == XA_ATOM && targets[i] == _glfw.x11.TARGETS) {
|
||||||
found = true;
|
found = true;
|
||||||
write_data(object, data, itemCount);
|
write_data(object, data, sizeof(Atom) * itemCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
XFREE(data);
|
XFREE(data);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user