mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 06:54:58 +02:00
committed by
Kovid Goyal
parent
a7b8e880c9
commit
5ea35cbbfc
24
glfw/null_window.c
vendored
24
glfw/null_window.c
vendored
@@ -531,13 +531,25 @@ void _glfwPlatformSetCursor(_GLFWwindow* window UNUSED, _GLFWcursor* cursor UNUS
|
||||
{
|
||||
}
|
||||
|
||||
int _glfwPlatformStartDrag(_GLFWwindow* window UNUSED,
|
||||
const GLFWdragitem* items UNUSED,
|
||||
int item_count UNUSED,
|
||||
const GLFWimage* thumbnail UNUSED,
|
||||
GLFWDragOperationType operation UNUSED)
|
||||
void _glfwPlatformCancelDrag(_GLFWwindow* window UNUSED)
|
||||
{
|
||||
return false;
|
||||
// No-op for null platform
|
||||
}
|
||||
|
||||
int _glfwPlatformStartDrag(_GLFWwindow* window UNUSED,
|
||||
const char* const* mime_types UNUSED,
|
||||
int mime_count UNUSED,
|
||||
const GLFWimage* thumbnail UNUSED,
|
||||
int operations UNUSED)
|
||||
{
|
||||
return ENOTSUP;
|
||||
}
|
||||
|
||||
ssize_t _glfwPlatformSendDragData(GLFWDragSourceData* source_data UNUSED,
|
||||
const void* data UNUSED,
|
||||
size_t size UNUSED)
|
||||
{
|
||||
return -ENOTSUP;
|
||||
}
|
||||
|
||||
void _glfwPlatformUpdateDragState(_GLFWwindow* window UNUSED)
|
||||
|
||||
Reference in New Issue
Block a user