warsaw@nlm.nih.gov (Barry A. Warsaw) (06/19/91)
Has anybody been able to integrate vroot.h (for tvtwm patchlevel 6) into emacs 18.57? I've tried #include(ing) <X11/vroot.h> at various places in src/x11term.h and src/x11term.c, but all attempts cause a core dump: root@warsaw[111]% xemacs Fatal error (11).Segmentation fault (core dumped) root@warsaw[112]% dbx xemacs Reading symbolic information... Read 33132 symbols program terminated by signal SEGV (segmentation violation) (dbx) where `x11term`VirtualRootWindow(dpy = 0x162ff8, screen = 0), line 44 in "/depot/X11R4/include/X11/vroot.h" XInitWindow(), line 2480 in "x11term.c" x_term_init(), line 1988 in "x11term.c" init_display(), line 1473 in "dispnew.c" main(argc = 1, argv = 0xf7fffd2c, envp = 0xf7fffd34), line 383 in "emacs.c" (dbx) Line 44 in vroot.h is a call to the (presumably old) RootWindow macro: root = RootWindow(dpy, screen); but the dpy structure looks okay to me. BTW, all of this is on a Sun SS1+, SunOS 4.1.1, MIT Xsun server X11R4.18. I just snagged the vroot.h file off of export this morning. If anyone has a patch file or suggestions... Thanks, -Barry