mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
updated for version 7.3.985
Problem: GTK vim not started as gvim doesn't set WM_CLASS property to a useful value. Solution: Call g_set_prgname() on startup. (James McCoy)
This commit is contained in:
@@ -1447,6 +1447,11 @@ gui_mch_init_check(void)
|
|||||||
using_gnome = 1;
|
using_gnome = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* This defaults to argv[0], but we want it to match the name of the
|
||||||
|
* shipped gvim.desktop so that Vim's windows can be associated with this
|
||||||
|
* file. */
|
||||||
|
g_set_prgname("gvim");
|
||||||
|
|
||||||
/* Don't use gtk_init() or gnome_init(), it exits on failure. */
|
/* Don't use gtk_init() or gnome_init(), it exits on failure. */
|
||||||
if (!gtk_init_check(&gui_argc, &gui_argv))
|
if (!gtk_init_check(&gui_argc, &gui_argv))
|
||||||
{
|
{
|
||||||
|
@@ -728,6 +728,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
985,
|
||||||
/**/
|
/**/
|
||||||
984,
|
984,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user