Add drag function for each platform

Add stub functions ```_glfwPlatformDragWindow``` for the platforms Cocoa
and Mir, which still lack the implementation of drag operation.
This commit is contained in:
Felipe Ferreira da Silva 2017-04-06 21:12:02 -03:00
parent c38b803b18
commit a96baa2d99
2 changed files with 8 additions and 0 deletions

View File

@ -1288,6 +1288,10 @@ void _glfwPlatformFocusWindow(_GLFWwindow* window)
[window->ns.object makeKeyAndOrderFront:nil];
}
void _glfwPlatformDragWindow(_GLFWwindow* window)
{
}
void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
_GLFWmonitor* monitor,
int xpos, int ypos,

View File

@ -576,6 +576,10 @@ void _glfwPlatformFocusWindow(_GLFWwindow* window)
"Mir: Unsupported function %s", __PRETTY_FUNCTION__);
}
void _glfwPlatformDragWindow(_GLFWwindow* window)
{
}
void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
_GLFWmonitor* monitor,
int xpos, int ypos,