"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "programs/wineconsole/user.c" between
wine-5.12.tar.xz and wine-5.13.tar.xz

About: Wine is an Open Source implementation of the MS Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs. Development release.

user.c  (wine-5.12.tar.xz):user.c  (wine-5.13.tar.xz)
skipping to change at line 1368 skipping to change at line 1368
* *
* *
*/ */
static int WCUSER_MainLoop(struct inner_data* data) static int WCUSER_MainLoop(struct inner_data* data)
{ {
MSG msg; MSG msg;
ShowWindow(data->hWnd, data->nCmdShow); ShowWindow(data->hWnd, data->nCmdShow);
while (!data->dying || !data->curcfg.exit_on_die) while (!data->dying || !data->curcfg.exit_on_die)
{ {
switch (MsgWaitForMultipleObjects(1, &data->hSynchro, FALSE, INFINITE, QS _ALLINPUT)) switch (MsgWaitForMultipleObjects(1, &data->overlapped.hEvent, FALSE, INF INITE, QS_ALLINPUT))
{ {
case WAIT_OBJECT_0: case WAIT_OBJECT_0:
WINECON_GrabChanges(data); WINECON_GrabChanges(data);
break; break;
case WAIT_OBJECT_0+1: case WAIT_OBJECT_0+1:
/* need to use PeekMessageW loop instead of simple GetMessage: /* need to use PeekMessageW loop instead of simple GetMessage:
* multiple messages might have arrived in between, * multiple messages might have arrived in between,
* so GetMessage would lead to delayed processing */ * so GetMessage would lead to delayed processing */
while (PeekMessageW(&msg, 0, 0, 0, PM_REMOVE)) while (PeekMessageW(&msg, 0, 0, 0, PM_REMOVE))
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)