mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 14:24:35 +00:00
parent
cc10527706
commit
a8b0d1c8e0
@ -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
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user