소스 검색

Cocoa: Initial implementation of glfwDragWindow

Camilla Löwy 8 년 전
부모
커밋
cad8f2f7d5
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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,