Forráskód Böngészése

Whitespace edits.

Lasse Öörni 14 éve
szülő
commit
ecec223f4d

+ 3 - 2
ThirdParty/GLFW/src/cocoa/cocoa_window.m

@@ -719,7 +719,7 @@ int _glfwPlatformOpenWindow(_GLFWwindow* window,
             
             
         // Urho3D: assume initial input activation for fullscreen
         // Urho3D: assume initial input activation for fullscreen
         if (window->mode == GLFW_FULLSCREEN)
         if (window->mode == GLFW_FULLSCREEN)
-            _glfwInputWindowFocus(window, GL_TRUE);                                                
+            _glfwInputWindowFocus(window, GL_TRUE);
     }
     }
 
 
     glfwMakeWindowCurrent(window);
     glfwMakeWindowCurrent(window);
@@ -960,7 +960,8 @@ void _glfwPlatformPollEvents(void)
     
     
     // Urho3D: when the window has just been activated, and left mouse is not down, re-enable
     // Urho3D: when the window has just been activated, and left mouse is not down, re-enable
     // mouse lock as necessary (this allows dragging the title bar)
     // mouse lock as necessary (this allows dragging the title bar)
-    if (_glfwLibrary.activeWindow && _glfwLibrary.activeWindow->NS.activated && !_glfwLibrary.activeWindow->NS.leftMouseDown)
+    if (_glfwLibrary.activeWindow && _glfwLibrary.activeWindow->NS.activated &&
+        !_glfwLibrary.activeWindow->NS.leftMouseDown)
     {
     {
         if (_glfwLibrary.activeWindow == _glfwLibrary.cursorLockWindow)
         if (_glfwLibrary.activeWindow == _glfwLibrary.cursorLockWindow)
             _glfwPlatformHideMouseCursor(_glfwLibrary.activeWindow);
             _glfwPlatformHideMouseCursor(_glfwLibrary.activeWindow);

+ 1 - 1
ThirdParty/GLFW/src/x11/x11_window.c

@@ -1145,7 +1145,7 @@ static void processSingleEvent(void)
                         window->mousePosX += event.xmotion.x -
                         window->mousePosX += event.xmotion.x -
                                              window->X11.cursorPosX;
                                              window->X11.cursorPosX;
                         window->mousePosY += event.xmotion.y -
                         window->mousePosY += event.xmotion.y -
-                                             window->X11.cursorPosY;                 
+                                             window->X11.cursorPosY;
                     }                
                     }                
                 }
                 }
                 else
                 else