|
Lines 938-944
winMultiWindowXMsgProc (void *pArg)
|
Link Here
|
|---|
|
| 938 |
if (pProcArg->pDisplay == NULL) |
938 |
if (pProcArg->pDisplay == NULL) |
| 939 |
{ |
939 |
{ |
| 940 |
ErrorF ("winMultiWindowXMsgProc - Could not open display, try: %d, " |
940 |
ErrorF ("winMultiWindowXMsgProc - Could not open display, try: %d, " |
| 941 |
"sleeping: %d\n\f", |
941 |
"sleeping: %d\n", |
| 942 |
iRetries + 1, WIN_CONNECT_DELAY); |
942 |
iRetries + 1, WIN_CONNECT_DELAY); |
| 943 |
++iRetries; |
943 |
++iRetries; |
| 944 |
sleep (WIN_CONNECT_DELAY); |
944 |
sleep (WIN_CONNECT_DELAY); |
|
Lines 1301-1307
winInitMultiWindowWM (WMInfoPtr pWMInfo, WMProcArgPtr pProcArg)
|
Link Here
|
|---|
|
| 1301 |
if (pWMInfo->pDisplay == NULL) |
1301 |
if (pWMInfo->pDisplay == NULL) |
| 1302 |
{ |
1302 |
{ |
| 1303 |
ErrorF ("winInitMultiWindowWM - Could not open display, try: %d, " |
1303 |
ErrorF ("winInitMultiWindowWM - Could not open display, try: %d, " |
| 1304 |
"sleeping: %d\n\f", |
1304 |
"sleeping: %d\n", |
| 1305 |
iRetries + 1, WIN_CONNECT_DELAY); |
1305 |
iRetries + 1, WIN_CONNECT_DELAY); |
| 1306 |
++iRetries; |
1306 |
++iRetries; |
| 1307 |
sleep (WIN_CONNECT_DELAY); |
1307 |
sleep (WIN_CONNECT_DELAY); |
|
Lines 1404-1410
winMultiWindowWMErrorHandler (Display *pDisplay, XErrorEvent *pErr)
|
Link Here
|
|---|
|
| 1404 |
static int |
1404 |
static int |
| 1405 |
winMultiWindowWMIOErrorHandler (Display *pDisplay) |
1405 |
winMultiWindowWMIOErrorHandler (Display *pDisplay) |
| 1406 |
{ |
1406 |
{ |
| 1407 |
ErrorF ("\nwinMultiWindowWMIOErrorHandler!\n\n"); |
1407 |
ErrorF ("winMultiWindowWMIOErrorHandler!\n\n"); |
| 1408 |
|
1408 |
|
| 1409 |
if (g_shutdown) |
1409 |
if (g_shutdown) |
| 1410 |
pthread_exit(NULL); |
1410 |
pthread_exit(NULL); |
|
Lines 1444-1450
winMultiWindowXMsgProcErrorHandler (Display *pDisplay, XErrorEvent *pErr)
|
Link Here
|
|---|
|
| 1444 |
static int |
1444 |
static int |
| 1445 |
winMultiWindowXMsgProcIOErrorHandler (Display *pDisplay) |
1445 |
winMultiWindowXMsgProcIOErrorHandler (Display *pDisplay) |
| 1446 |
{ |
1446 |
{ |
| 1447 |
ErrorF ("\nwinMultiWindowXMsgProcIOErrorHandler!\n\n"); |
1447 |
ErrorF ("winMultiWindowXMsgProcIOErrorHandler!\n\n"); |
| 1448 |
|
1448 |
|
| 1449 |
/* Restart at the main entry point */ |
1449 |
/* Restart at the main entry point */ |
| 1450 |
longjmp (g_jmpXMsgProcEntry, WIN_JMP_ERROR_IO); |
1450 |
longjmp (g_jmpXMsgProcEntry, WIN_JMP_ERROR_IO); |