summaryrefslogtreecommitdiff
path: root/src/gui_x11.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-22 18:28:27 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-22 18:28:27 +0200
commit67c53844343011089e1b847200b5c5257a83e1c4 (patch)
tree8f1c5bfe10864b7e49a8bc62ce12b1db449803da /src/gui_x11.c
parentca7e1f2066e3518ee6caeef32e499ab954ec05a3 (diff)
downloadvim-git-67c53844343011089e1b847200b5c5257a83e1c4.tar.gz
Included the patch to support netbeans in a terminal.
Diffstat (limited to 'src/gui_x11.c')
-rw-r--r--src/gui_x11.c6
1 files changed, 3 insertions, 3 deletions
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;