mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-27 04:28:52 -05:00
Fixed hidden window positioning on Metacity.
This commit is contained in:
parent
785e68bb0d
commit
1cbd06c8a2
|
@ -57,6 +57,7 @@ guide in the GLFW documentation.
|
||||||
listed for Thunderbolt monitor
|
listed for Thunderbolt monitor
|
||||||
- [X11] Added setting of the `WM_CLASS` property to the initial window title
|
- [X11] Added setting of the `WM_CLASS` property to the initial window title
|
||||||
- [X11] Bugfix: Removed joystick axis value negation left over from GLFW 2
|
- [X11] Bugfix: Removed joystick axis value negation left over from GLFW 2
|
||||||
|
- [X11] Bugfix: The position of hidden windows was ignored by Metacity
|
||||||
|
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
|
|
|
@ -256,6 +256,11 @@ static GLboolean createWindow(_GLFWwindow* window,
|
||||||
hints->flags |= PPosition;
|
hints->flags |= PPosition;
|
||||||
_glfwPlatformGetMonitorPos(wndconfig->monitor, &hints->x, &hints->y);
|
_glfwPlatformGetMonitorPos(wndconfig->monitor, &hints->x, &hints->y);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
hints->flags |= PPosition;
|
||||||
|
hints->x = hints->y = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (!wndconfig->resizable)
|
if (!wndconfig->resizable)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user