# HG changeset patch # User Richard M. Stallman # Date 782265114 0 # Node ID c5a0a84a76a7a9645d7dde69cc27c80dd5e81967 # Parent 0773b7048206f07281b79f9a65b7f0f1016739d7 Delete HAVE_X11 conditionals. diff -r 0773b7048206 -r c5a0a84a76a7 src/xmenu.c --- a/src/xmenu.c Sat Oct 15 22:24:10 1994 +0000 +++ b/src/xmenu.c Sat Oct 15 23:51:54 1994 +0000 @@ -54,11 +54,7 @@ #include "dispextern.h" -#ifdef HAVE_X11 #include "../oldXMenu/XMenu.h" -#else -#include -#endif #ifdef USE_X_TOOLKIT #include @@ -77,11 +73,7 @@ #define FALSE 0 #endif /* no TRUE */ -#ifdef HAVE_X11 extern Display *x_current_display; -#else -#define ButtonReleaseMask ButtonReleased -#endif /* not HAVE_X11 */ extern Lisp_Object Qmenu_enable; extern Lisp_Object Qmenu_bar; @@ -2080,7 +2072,6 @@ } /* Adjust coordinates to relative to the outer (window manager) window. */ -#ifdef HAVE_X11 { Window child; int win_x = 0, win_y = 0; @@ -2106,7 +2097,6 @@ y += win_y; } } -#endif /* HAVE_X11 */ /* Adjust coordinates to be root-window-relative. */ x += f->display.x->left_pos;