Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
2208:495995b9ce7d | 2209:d0ddf7ba1630 |
---|---|
633 | 633 |
634 /* This is needed for when redrawing is slow. */ | 634 /* This is needed for when redrawing is slow. */ |
635 gui_mch_update(); | 635 gui_mch_update(); |
636 } | 636 } |
637 | 637 |
638 #if (defined(FEAT_NETBEANS_INTG) || defined(FEAT_SUN_WORKSHOP)) \ | 638 #if ((defined(FEAT_NETBEANS_INTG) || defined(FEAT_SUN_WORKSHOP)) \ |
639 || defined(PROTO) | 639 && defined(FEAT_GUI_MOTIF)) || defined(PROTO) |
640 /* | 640 /* |
641 * This function fills in the XRectangle object with the current x,y | 641 * This function fills in the XRectangle object with the current x,y |
642 * coordinates and height, width so that an XtVaSetValues to the same shell of | 642 * coordinates and height, width so that an XtVaSetValues to the same shell of |
643 * those resources will restore the window to its former position and | 643 * those resources will restore the window to its former position and |
644 * dimensions. | 644 * dimensions. |
707 | 707 |
708 shellRectangle(w, &rec); | 708 shellRectangle(w, &rec); |
709 workshop_frame_moved(rec.x, rec.y, rec.width, rec.height); | 709 workshop_frame_moved(rec.x, rec.y, rec.width, rec.height); |
710 } | 710 } |
711 #endif | 711 #endif |
712 #ifdef FEAT_NETBEANS_INTG | 712 #if defined(FEAT_NETBEANS_INTG) && defined(FEAT_GUI_MOTIF) |
713 if (usingNetbeans) | 713 if (usingNetbeans) |
714 { | 714 { |
715 XRectangle rec; | 715 XRectangle rec; |
716 | 716 |
717 shellRectangle(w, &rec); | 717 shellRectangle(w, &rec); |