mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
parent
8b26801a30
commit
2529e663d7
@ -146,11 +146,10 @@ static void registryHandleGlobalRemove(void* userData,
|
|||||||
uint32_t name)
|
uint32_t name)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
_GLFWmonitor* monitor;
|
|
||||||
|
|
||||||
for (i = 0; i < _glfw.monitorCount; ++i)
|
for (i = 0; i < _glfw.monitorCount; ++i)
|
||||||
{
|
{
|
||||||
monitor = _glfw.monitors[i];
|
_GLFWmonitor* monitor = _glfw.monitors[i];
|
||||||
if (monitor->wl.name == name)
|
if (monitor->wl.name == name)
|
||||||
{
|
{
|
||||||
_glfwInputMonitor(monitor, GLFW_DISCONNECTED, 0);
|
_glfwInputMonitor(monitor, GLFW_DISCONNECTED, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user