mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 05:36:35 +00:00
Remove _glfwInputWindowMonitor uses in wl_window.c
This commit is contained in:
parent
5950382616
commit
a996a26d00
@ -1015,7 +1015,7 @@ void _glfwPlatformRestoreWindow(_GLFWwindow* window)
|
|||||||
// There is no way to unset minimized, or even to know if we are
|
// There is no way to unset minimized, or even to know if we are
|
||||||
// minimized, so there is nothing to do in this case.
|
// minimized, so there is nothing to do in this case.
|
||||||
}
|
}
|
||||||
_glfwInputWindowMonitor(window, NULL);
|
window->monitor = NULL;
|
||||||
window->wl.maximized = GLFW_FALSE;
|
window->wl.maximized = GLFW_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1080,7 +1080,7 @@ void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
|
|||||||
if (!_glfw.wl.decorationManager)
|
if (!_glfw.wl.decorationManager)
|
||||||
createDecorations(window);
|
createDecorations(window);
|
||||||
}
|
}
|
||||||
_glfwInputWindowMonitor(window, monitor);
|
window->monitor = monitor;
|
||||||
}
|
}
|
||||||
|
|
||||||
int _glfwPlatformWindowFocused(_GLFWwindow* window)
|
int _glfwPlatformWindowFocused(_GLFWwindow* window)
|
||||||
|
Loading…
Reference in New Issue
Block a user