Fri Jul 7 11:45:49 PDT 2000 Michael Jennings <mej@eterm.org>

Some more bits from last night's work.


SVN revision: 2908
This commit is contained in:
Michael Jennings 2000-07-07 18:29:10 +00:00
parent b05a37a6af
commit 6c2fb97641
4 changed files with 9 additions and 10 deletions

View File

@ -3784,7 +3784,12 @@ Wed Jul 5 20:48:10 PDT 2000 Michael Jennings <mej@eterm.org>
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Thu Jul 6 23:56:54 PDT 2000 Michael Jennings <mej@eterm.org> Thu Jul 6 23:56:54 PDT 2000 Michael Jennings <mej@eterm.org>
I think I've finally fixed all those XPolyText8() errors with pixmap I think I've finally fixed all those XPolyText8 errors with pixmap
support disabled. Solid color mode buttonbars seem to work now also. support disabled. Solid color mode buttonbars seem to work now also.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Fri Jul 7 11:45:49 PDT 2000 Michael Jennings <mej@eterm.org>
Some more bits from last night's work.
-------------------------------------------------------------------------------

View File

@ -108,6 +108,7 @@ bbar_create(void)
bbar_set_docked(bbar, BBAR_DOCKED_TOP); bbar_set_docked(bbar, BBAR_DOCKED_TOP);
bbar_set_visible(bbar, 1); bbar_set_visible(bbar, 1);
D_BBAR(("bbar created: Window 0x%08x, dimensions %dx%d\n", bbar->win, bbar->w, bbar->h));
return bbar; return bbar;
} }

View File

@ -267,7 +267,7 @@ enl_send_and_wait(char *msg)
D_ENL(("IPC timed out. IPC window 0x%08x has gone AWOL. Clearing ipc_win.\n", ipc_win)); D_ENL(("IPC timed out. IPC window 0x%08x has gone AWOL. Clearing ipc_win.\n", ipc_win));
XSelectInput(Xdisplay, ipc_win, None); XSelectInput(Xdisplay, ipc_win, None);
ipc_win = None; ipc_win = None;
check_image_ipc(1); (void) check_image_ipc(1);
} }
} }
signal(SIGALRM, old_alrm); signal(SIGALRM, old_alrm);

View File

@ -113,15 +113,7 @@ eterm_bootstrap(int argc, char *argv[])
print_error("can't open display %s", display_name); print_error("can't open display %s", display_name);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
#if DEBUG >= DEBUG_X
if (debug_level >= DEBUG_X) {
XSetErrorHandler((XErrorHandler) abort);
} else {
XSetErrorHandler((XErrorHandler) xerror_handler);
}
#else
XSetErrorHandler((XErrorHandler) xerror_handler); XSetErrorHandler((XErrorHandler) xerror_handler);
#endif
if (Options & Opt_install) { if (Options & Opt_install) {
cmap = XCreateColormap(Xdisplay, Xroot, Xvisual, AllocNone); cmap = XCreateColormap(Xdisplay, Xroot, Xvisual, AllocNone);
@ -226,6 +218,7 @@ eterm_bootstrap(int argc, char *argv[])
#if DEBUG >= DEBUG_X #if DEBUG >= DEBUG_X
if (debug_level >= DEBUG_X) { if (debug_level >= DEBUG_X) {
XSync(Xdisplay, False);
XSynchronize(Xdisplay, True); XSynchronize(Xdisplay, True);
} }
#endif #endif