From 67c53844343011089e1b847200b5c5257a83e1c4 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 22 May 2010 18:28:27 +0200 Subject: Included the patch to support netbeans in a terminal. --- src/gui_x11.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui_x11.c') diff --git a/src/gui_x11.c b/src/gui_x11.c index 4110fc69d..522f92336 100644 --- a/src/gui_x11.c +++ b/src/gui_x11.c @@ -635,8 +635,8 @@ gui_x11_expose_cb(w, dud, event, dum) gui_mch_update(); } -#if (defined(FEAT_NETBEANS_INTG) || defined(FEAT_SUN_WORKSHOP)) \ - || defined(PROTO) +#if ((defined(FEAT_NETBEANS_INTG) || defined(FEAT_SUN_WORKSHOP)) \ + && defined(FEAT_GUI_MOTIF)) || defined(PROTO) /* * This function fills in the XRectangle object with the current x,y * coordinates and height, width so that an XtVaSetValues to the same shell of @@ -709,7 +709,7 @@ gui_x11_resize_window_cb(w, dud, event, dum) workshop_frame_moved(rec.x, rec.y, rec.width, rec.height); } #endif -#ifdef FEAT_NETBEANS_INTG +#if defined(FEAT_NETBEANS_INTG) && defined(FEAT_GUI_MOTIF) if (usingNetbeans) { XRectangle rec; -- cgit v1.2.1