mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.3.031
Problem: Can't pass the X window ID to another application. Solution: Add v:windowid. (Christian J. Robinson, Lech Lorens)
This commit is contained in:
10
src/gui.c
10
src/gui.c
@@ -105,8 +105,18 @@ gui_start()
|
||||
|
||||
#if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11)
|
||||
if (gui.in_use)
|
||||
{
|
||||
# ifdef FEAT_EVAL
|
||||
Window x11_window;
|
||||
Display *x11_display;
|
||||
|
||||
if (gui_get_x11_windis(&x11_window, &x11_display) == OK)
|
||||
set_vim_var_nr(VV_WINDOWID, (long)x11_window);
|
||||
# endif
|
||||
|
||||
/* Display error messages in a dialog now. */
|
||||
display_errors();
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(MAY_FORK) && !defined(__QNXNTO__)
|
||||
|
Reference in New Issue
Block a user