commit | a878510770d59ba74aeafdcde824bf6d2a101647 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Nov 12 13:10:15 2008 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Nov 12 13:10:15 2008 +0000 |
tree | 9b00bb5139fd3f263862fa4eab71c12e18af3d8e | |
parent | 12806c8844a5aa6066b6f430924fef0b47170dae [diff] [blame] |
updated for version 7.2-037
diff --git a/src/os_unix.c b/src/os_unix.c index 2191e2e..782265b 100644 --- a/src/os_unix.c +++ b/src/os_unix.c
@@ -2936,7 +2936,8 @@ } # endif # endif -# ifdef FEAT_X11 + /* Don't close the display for GTK 1, it is done in exit(). */ +# if defined(FEAT_X11) && (!defined(FEAT_GUI_GTK) || defined(HAVE_GTK2)) if (x11_display != NULL # ifdef FEAT_XCLIPBOARD && x11_display != xterm_dpy