From a96baa2d9981630a84c6dad2b06a13c0ceb6ed90 Mon Sep 17 00:00:00 2001 From: Felipe Ferreira da Silva Date: Thu, 6 Apr 2017 21:12:02 -0300 Subject: [PATCH] Add drag function for each platform Add stub functions ```_glfwPlatformDragWindow``` for the platforms Cocoa and Mir, which still lack the implementation of drag operation. --- src/cocoa_window.m | 4 ++++ src/mir_window.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/cocoa_window.m b/src/cocoa_window.m index d2aab85f9..e606bcb2d 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -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, diff --git a/src/mir_window.c b/src/mir_window.c index e380f4070..484690be6 100644 --- a/src/mir_window.c +++ b/src/mir_window.c @@ -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,