Fixed issue #890.

This commit is contained in:
Branimir Karadžić 2016-08-26 09:01:49 -07:00
parent 898ae2522a
commit 79ef46e4cf

View File

@ -820,8 +820,8 @@ namespace entry
void* nwh = sdlNativeWindowHandle(m_window[handle.idx]); void* nwh = sdlNativeWindowHandle(m_window[handle.idx]);
if (NULL != nwh) if (NULL != nwh)
{ {
m_eventQueue.postWindowEvent(handle, nwh);
m_eventQueue.postSizeEvent(handle, msg->m_width, msg->m_height); m_eventQueue.postSizeEvent(handle, msg->m_width, msg->m_height);
m_eventQueue.postWindowEvent(handle, nwh);
} }
delete msg; delete msg;