提交 9a1397e8 编写于 作者: L lana

Merge

......@@ -673,6 +673,12 @@ LPMONITORINFO AwtWin32GraphicsDevice::GetMonitorInfo(int deviceIndex)
*/
void AwtWin32GraphicsDevice::ResetAllMonitorInfo()
{
//IE in some circumstances generates WM_SETTINGCHANGE message on appearance
//and thus triggers this method
//but we may not have the devices list initialized yet.
if (!Devices::GetInstance()){
return;
}
Devices::InstanceAccess devices;
int devicesNum = devices->GetNumDevices();
for (int deviceIndex = 0; deviceIndex < devicesNum; deviceIndex++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册