comparison src/frame-x.c @ 4769:5460287a3327

Remove support for pre-X11R5 systems, including systems without Xmu. See <870180fe0912091102j6fde7336hdc187608be0ef97@mail.gmail.com> in xemacs-patches.
author Jerry James <james@xemacs.org>
date Thu, 10 Dec 2009 12:42:09 -0700
parents 7e79c8559ad1
children bc4f2511bbea
comparison
equal deleted inserted replaced
4768:0f5bee973a7b 4769:5460287a3327
46 #include <X11/CoreP.h> /* Numerous places access the fields of 46 #include <X11/CoreP.h> /* Numerous places access the fields of
47 a core widget directly. We could 47 a core widget directly. We could
48 use XtGetValues(), but ... */ 48 use XtGetValues(), but ... */
49 #include <X11/Shell.h> 49 #include <X11/Shell.h>
50 #include <X11/ShellP.h> 50 #include <X11/ShellP.h>
51 #include "xmu.h" 51 #include <X11/Xmu/Editres.h>
52 #include "EmacsManager.h" 52 #include "EmacsManager.h"
53 #include "EmacsFrameP.h" 53 #include "EmacsFrameP.h"
54 #include "EmacsShell.h" 54 #include "EmacsShell.h"
55 #ifdef EXTERNAL_WIDGET 55 #ifdef EXTERNAL_WIDGET
56 #include "ExternalShell.h" 56 #include "ExternalShell.h"
2042 2042
2043 #ifdef HAVE_XIM 2043 #ifdef HAVE_XIM
2044 XIM_init_frame (f); 2044 XIM_init_frame (f);
2045 #endif /* HAVE_XIM */ 2045 #endif /* HAVE_XIM */
2046 2046
2047 #ifdef HACK_EDITRES
2048 /* Allow XEmacs to respond to EditRes requests. See the O'Reilly Xt */ 2047 /* Allow XEmacs to respond to EditRes requests. See the O'Reilly Xt */
2049 /* Intrinsics Programming Manual, Motif Edition, Aug 1993, Sect 14.14, */ 2048 /* Intrinsics Programming Manual, Motif Edition, Aug 1993, Sect 14.14, */
2050 /* pp. 483-493. */ 2049 /* pp. 483-493. */
2051 XtAddEventHandler (shell_widget, /* the shell widget in question */ 2050 XtAddEventHandler (shell_widget, /* the shell widget in question */
2052 (EventMask) NoEventMask,/* OR with existing mask */ 2051 (EventMask) NoEventMask,/* OR with existing mask */
2053 True, /* called on non-maskable events? */ 2052 True, /* called on non-maskable events? */
2054 (XtEventHandler) _XEditResCheckMessages, /* the handler */ 2053 (XtEventHandler) _XEditResCheckMessages, /* the handler */
2055 NULL); 2054 NULL);
2056 #endif /* HACK_EDITRES */
2057 2055
2058 #ifdef HAVE_CDE 2056 #ifdef HAVE_CDE
2059 { 2057 {
2060 XtCallbackRec dnd_transfer_cb_rec[2]; 2058 XtCallbackRec dnd_transfer_cb_rec[2];
2061 2059