Updated changelog and credits, formatting.

Closes #384.
This commit is contained in:
Camilla Berglund
2014-11-27 15:39:24 +01:00
parent cc10527706
commit a8b0d1c8e0
2 changed files with 7 additions and 3 deletions
+4 -3
View File
@@ -777,15 +777,16 @@ static void enterFullscreenMode(_GLFWwindow* window)
{
// In override-redirect mode we have divorced ourselves from the
// window manager, so we need to do everything manually
int x,y;
int xpos, ypos;
GLFWvidmode mode;
_glfwPlatformGetMonitorPos(window->monitor, &x, &y);
_glfwPlatformGetMonitorPos(window->monitor, &xpos, &ypos);
_glfwPlatformGetVideoMode(window->monitor, &mode);
XRaiseWindow(_glfw.x11.display, window->x11.handle);
XSetInputFocus(_glfw.x11.display, window->x11.handle,
RevertToParent, CurrentTime);
XMoveWindow(_glfw.x11.display, window->x11.handle, x, y);
XMoveWindow(_glfw.x11.display, window->x11.handle, xpos, ypos);
XResizeWindow(_glfw.x11.display, window->x11.handle,
mode.width, mode.height);
}