Lines 402-408
Link Here
|
402 |
fg_color = PM_COLOR("Foreground"); |
402 |
fg_color = PM_COLOR("Foreground"); |
403 |
bg_color = PM_COLOR("Background"); |
403 |
bg_color = PM_COLOR("Background"); |
404 |
XRecolorCursor(disp, zoomCursor, &fg_color, &bg_color); |
404 |
XRecolorCursor(disp, zoomCursor, &fg_color, &bg_color); |
405 |
init_X(win_info->dev_info.user_state); |
405 |
#if 0 |
|
|
406 |
/* legitimate correction shall be like this, but ... */ |
407 |
if (XFindContext(disp, primary, win_context, (caddr_t *) &win_info)) { |
408 |
/* Nothing found */ |
409 |
(void) fprintf(stderr, "Can't get Context\n"); |
410 |
} else { |
411 |
init_X(win_info->dev_info.user_state); |
412 |
} |
413 |
#else |
414 |
/* ... init_X() does not use the parameter (which has only Window ID now) */ |
415 |
init_X(NULL); /* QUICK HACK */ |
416 |
#endif |
406 |
|
417 |
|
407 |
Num_Windows = 1; |
418 |
Num_Windows = 1; |
408 |
while (Num_Windows > 0) { |
419 |
while (Num_Windows > 0) { |