Remove monitor from _GLFWwndconfig

This commit is contained in:
Camilla Berglund
2016-03-14 15:17:28 +01:00
parent 3a6fe042ea
commit ea888114fa
7 changed files with 19 additions and 23 deletions
+2 -2
View File
@@ -329,13 +329,13 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window,
return GLFW_FALSE;
}
if (wndconfig->monitor)
if (window->monitor)
{
wl_shell_surface_set_fullscreen(
window->wl.shell_surface,
WL_SHELL_SURFACE_FULLSCREEN_METHOD_DEFAULT,
0,
wndconfig->monitor->wl.output);
window->monitor->wl.output);
}
else
{