mirror of
https://github.com/glfw/glfw.git
synced 2026-09-19 23:43:15 +00:00
+3
-8
@@ -264,15 +264,10 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
|
||||
break;
|
||||
}
|
||||
|
||||
case WM_DEVICECHANGE:
|
||||
case WM_DISPLAYCHANGE:
|
||||
{
|
||||
if (wParam == DBT_DEVNODES_CHANGED)
|
||||
{
|
||||
_glfwInputMonitorChange();
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
break;
|
||||
_glfwInputMonitorChange();
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user