aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-10-15 23:51:54 +0000
committerRichard M. Stallman1994-10-15 23:51:54 +0000
commit3ca702ec5a360ecec1875f2da5471f69475a6863 (patch)
tree92a894f2275d89818a5b80c7d9e97ccb237abd04 /src
parentcdbea8cae35abc50bf9692afcd543b3677dcd3b7 (diff)
downloademacs-3ca702ec5a360ecec1875f2da5471f69475a6863.tar.gz
emacs-3ca702ec5a360ecec1875f2da5471f69475a6863.zip
Delete HAVE_X11 conditionals.
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 4e87f706044..10732855e8a 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -54,11 +54,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
54 54
55#include "dispextern.h" 55#include "dispextern.h"
56 56
57#ifdef HAVE_X11
58#include "../oldXMenu/XMenu.h" 57#include "../oldXMenu/XMenu.h"
59#else
60#include <X/XMenu.h>
61#endif
62 58
63#ifdef USE_X_TOOLKIT 59#ifdef USE_X_TOOLKIT
64#include <X11/Xlib.h> 60#include <X11/Xlib.h>
@@ -77,11 +73,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
77#define FALSE 0 73#define FALSE 0
78#endif /* no TRUE */ 74#endif /* no TRUE */
79 75
80#ifdef HAVE_X11
81extern Display *x_current_display; 76extern Display *x_current_display;
82#else
83#define ButtonReleaseMask ButtonReleased
84#endif /* not HAVE_X11 */
85 77
86extern Lisp_Object Qmenu_enable; 78extern Lisp_Object Qmenu_enable;
87extern Lisp_Object Qmenu_bar; 79extern Lisp_Object Qmenu_bar;
@@ -2080,7 +2072,6 @@ xmenu_show (f, x, y, menubarp, keymaps, title, error)
2080 } 2072 }
2081 2073
2082 /* Adjust coordinates to relative to the outer (window manager) window. */ 2074 /* Adjust coordinates to relative to the outer (window manager) window. */
2083#ifdef HAVE_X11
2084 { 2075 {
2085 Window child; 2076 Window child;
2086 int win_x = 0, win_y = 0; 2077 int win_x = 0, win_y = 0;
@@ -2106,7 +2097,6 @@ xmenu_show (f, x, y, menubarp, keymaps, title, error)
2106 y += win_y; 2097 y += win_y;
2107 } 2098 }
2108 } 2099 }
2109#endif /* HAVE_X11 */
2110 2100
2111 /* Adjust coordinates to be root-window-relative. */ 2101 /* Adjust coordinates to be root-window-relative. */
2112 x += f->display.x->left_pos; 2102 x += f->display.x->left_pos;