Selaa lähdekoodia

Cocoa: Initial implementation of glfwDragWindow

Camilla Löwy 8 vuotta sitten
vanhempi
commit
cad8f2f7d5
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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,