1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 07:07:25 -04:00

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

View File

@ -141,6 +141,8 @@ GLFW bundles a number of dependencies in the `deps/` directory.
- [X11] Bugfix: Video mode dimensions were not rotated to match the CRTC - [X11] Bugfix: Video mode dimensions were not rotated to match the CRTC
- [X11] Bugfix: Unicode character input ignored dead keys - [X11] Bugfix: Unicode character input ignored dead keys
- [X11] Bugfix: X-axis scroll offsets were inverted - [X11] Bugfix: X-axis scroll offsets were inverted
- [X11] Bugfix: Full screen override redirect windows were not always
positioned over the specified monitor
## Contact ## Contact
@ -228,6 +230,7 @@ skills.
- Peoro - Peoro
- Braden Pellett - Braden Pellett
- Arturo J. Pérez - Arturo J. Pérez
- Cyril Pichard
- Pieroman - Pieroman
- Jorge Rodriguez - Jorge Rodriguez
- Ed Ropple - Ed Ropple

View File

@ -777,15 +777,16 @@ static void enterFullscreenMode(_GLFWwindow* window)
{ {
// In override-redirect mode we have divorced ourselves from the // In override-redirect mode we have divorced ourselves from the
// window manager, so we need to do everything manually // window manager, so we need to do everything manually
int x,y; int xpos, ypos;
GLFWvidmode mode; GLFWvidmode mode;
_glfwPlatformGetMonitorPos(window->monitor, &x, &y);
_glfwPlatformGetMonitorPos(window->monitor, &xpos, &ypos);
_glfwPlatformGetVideoMode(window->monitor, &mode); _glfwPlatformGetVideoMode(window->monitor, &mode);
XRaiseWindow(_glfw.x11.display, window->x11.handle); XRaiseWindow(_glfw.x11.display, window->x11.handle);
XSetInputFocus(_glfw.x11.display, window->x11.handle, XSetInputFocus(_glfw.x11.display, window->x11.handle,
RevertToParent, CurrentTime); 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, XResizeWindow(_glfw.x11.display, window->x11.handle,
mode.width, mode.height); mode.width, mode.height);
} }