Ver Fonte

Cocoa: Initial implementation of glfwDragWindow

Camilla Löwy há 8 anos atrás
pai
commit
cad8f2f7d5
1 ficheiros alterados com 1 adições e 0 exclusões
  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,