Mercurial > vim
comparison src/os_unix.c @ 2609:758822790b43 v7.3.031
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 20 Oct 2010 19:17:48 +0200 |
parents | d982226b7aaa |
children | 033e7b49356c |
comparison
equal
deleted
inserted
replaced
2608:7d8af31066c8 | 2609:758822790b43 |
---|---|
1736 x11_display_from = XD_HERE; | 1736 x11_display_from = XD_HERE; |
1737 } | 1737 } |
1738 } | 1738 } |
1739 if (x11_window == 0 || x11_display == NULL) | 1739 if (x11_window == 0 || x11_display == NULL) |
1740 return (result = FAIL); | 1740 return (result = FAIL); |
1741 | |
1742 # ifdef FEAT_EVAL | |
1743 set_vim_var_nr(VV_WINDOWID, (long)x11_window); | |
1744 # endif | |
1745 | |
1741 return (result = OK); | 1746 return (result = OK); |
1742 } | 1747 } |
1743 | 1748 |
1744 /* | 1749 /* |
1745 * Determine original x11 Window Title | 1750 * Determine original x11 Window Title |