Added glfwGetWindowMonitor.
diff --git a/include/GL/glfw3.h b/include/GL/glfw3.h
index 2e9ba74..2c30d9e 100644
--- a/include/GL/glfw3.h
+++ b/include/GL/glfw3.h
@@ -560,6 +560,7 @@
 GLFWAPI void glfwShowWindow(GLFWwindow window);
 GLFWAPI void glfwHideWindow(GLFWwindow window);
 GLFWAPI int  glfwGetWindowParam(GLFWwindow window, int param);
+GLFWAPI GLFWmonitor glfwGetWindowMonitor(GLFWwindow window);
 GLFWAPI void glfwSetWindowUserPointer(GLFWwindow window, void* pointer);
 GLFWAPI void* glfwGetWindowUserPointer(GLFWwindow window);
 GLFWAPI void glfwSetWindowSizeCallback(GLFWwindowsizefun cbfun);
diff --git a/src/window.c b/src/window.c
index 90f9dfc..7e6ec9b 100644
--- a/src/window.c
+++ b/src/window.c
@@ -764,6 +764,24 @@
 
 
 //========================================================================
+// Get window monitor
+//========================================================================
+
+GLFWAPI GLFWmonitor glfwGetWindowMonitor(GLFWwindow handle)
+{
+    _GLFWwindow* window = (_GLFWwindow*) handle;
+
+    if (!_glfwInitialized)
+    {
+        _glfwSetError(GLFW_NOT_INITIALIZED, NULL);
+        return NULL;
+    }
+
+    return (GLFWmonitor) window->monitor;
+}
+
+
+//========================================================================
 // Set the user pointer for the specified window
 //========================================================================