Mercurial > vim
diff src/gui_x11.c @ 2209:d0ddf7ba1630 vim73
Included the patch to support netbeans in a terminal.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 22 May 2010 18:28:27 +0200 |
parents | fc89a4f98a8b |
children | 8c6a66e2b3cc |
line wrap: on
line diff
--- 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, 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;