Explorar o código

Cocoa: Initial implementation of glfwDragWindow

Camilla Löwy %!s(int64=8) %!d(string=hai) anos
pai
achega
cad8f2f7d5
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/cocoa_window.m

+ 1 - 0
src/cocoa_window.m

@@ -1300,6 +1300,7 @@ void _glfwPlatformFocusWindow(_GLFWwindow* window)
 
 void _glfwPlatformDragWindow(_GLFWwindow* window)
 {
+    [window->ns.object performWindowDragWithEvent:[NSApp currentEvent]];
 }
 
 void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,