From 53578d7d01b26d7a90473c20287aaf4e10569244 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 27 Oct 2010 17:53:24 +0200 Subject: [PATCH] Formatting. --- src/x11/x11_window.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/x11/x11_window.c b/src/x11/x11_window.c index 4b67bb41..7728eb49 100644 --- a/src/x11/x11_window.c +++ b/src/x11/x11_window.c @@ -485,7 +485,9 @@ static _GLFWfbconfig* getFBConfigs(_GLFWwindow* window, unsigned int* found) attribs[index++] = attribName; \ attribs[index++] = attribValue; -static int createContext(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, GLXFBConfigID fbconfigID) +static int createContext(_GLFWwindow* window, + const _GLFWwndconfig* wndconfig, + GLXFBConfigID fbconfigID) { int attribs[40]; int flags, dummy, index; @@ -732,7 +734,8 @@ static GLboolean createWindow(_GLFWwindow* window, // The /only/ reason we are setting the background pixel here is // that otherwise our window wont get any decorations on systems // using Compiz on Intel hardware - wa.background_pixel = BlackPixel(_glfwLibrary.X11.display, _glfwLibrary.X11.screen); + wa.background_pixel = BlackPixel(_glfwLibrary.X11.display, + _glfwLibrary.X11.screen); wamask |= CWBackPixel; } @@ -1616,7 +1619,9 @@ void _glfwPlatformIconifyWindow(_GLFWwindow* window) return; } - XIconifyWindow(_glfwLibrary.X11.display, window->X11.handle, _glfwLibrary.X11.screen); + XIconifyWindow(_glfwLibrary.X11.display, + window->X11.handle, + _glfwLibrary.X11.screen); } @@ -1821,7 +1826,9 @@ void _glfwPlatformHideMouseCursor(_GLFWwindow* window) // Hide cursor if (!window->X11.pointerHidden) { - XDefineCursor(_glfwLibrary.X11.display, window->X11.handle, _glfwLibrary.X11.cursor); + XDefineCursor(_glfwLibrary.X11.display, + window->X11.handle, + _glfwLibrary.X11.cursor); window->X11.pointerHidden = GL_TRUE; }