From 140ffbd509a89392457aec2758a054475074ae07 Mon Sep 17 00:00:00 2001 From: Doug Binks Date: Thu, 17 May 2018 13:15:12 +0100 Subject: [PATCH] Fixed TAB -> SPACE --- src/internal.h | 4 ++-- src/window.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/internal.h b/src/internal.h index daf05b001..9fc626dde 100644 --- a/src/internal.h +++ b/src/internal.h @@ -267,7 +267,7 @@ struct _GLFWwndconfig GLFWbool floating; GLFWbool maximized; GLFWbool centerCursor; - GLFWbool focusOnShow; + GLFWbool focusOnShow; struct { GLFWbool retina; char frameName[256]; @@ -373,7 +373,7 @@ struct _GLFWwindow GLFWbool decorated; GLFWbool autoIconify; GLFWbool floating; - GLFWbool focusOnShow; + GLFWbool focusOnShow; GLFWbool shouldClose; void* userPointer; GLFWvidmode videoMode; diff --git a/src/window.c b/src/window.c index 1677c89b0..85351ade8 100644 --- a/src/window.c +++ b/src/window.c @@ -372,9 +372,9 @@ GLFWAPI void glfwWindowHint(int hint, int value) case GLFW_CENTER_CURSOR: _glfw.hints.window.centerCursor = value ? GLFW_TRUE : GLFW_FALSE; return; - case GLFW_FOCUS_ON_SHOW: + case GLFW_FOCUS_ON_SHOW: _glfw.hints.window.focusOnShow = value ? GLFW_TRUE : GLFW_FALSE; - return; + return; case GLFW_CLIENT_API: _glfw.hints.context.client = value; return; @@ -761,7 +761,7 @@ GLFWAPI void glfwShowWindow(GLFWwindow* handle) _glfwPlatformShowWindow(window); - if(window->focusOnShow) + if(window->focusOnShow) _glfwPlatformFocusWindow(window); }