Bug#639925: [patch] Set WM_CLASS to gvim for Gtk/Gnome GUI

2013-05-21 Thread Bram Moolenaar
James McCoy wrote: > When the GUI is launched by using ":gui" from Vim or when the binary is > not named gvim (like vim.gtk in Debian), the WM_CLASS X property isn't > set correctly. > > Sam Morris provided the attached patch so WM_CLASS is consistently set, > which also ensures the correct .des

Bug#639925: [patch] Set WM_CLASS to gvim for Gtk/Gnome GUI

2013-05-20 Thread James McCoy
Hi Bram, When the GUI is launched by using ":gui" from Vim or when the binary is not named gvim (like vim.gtk in Debian), the WM_CLASS X property isn't set correctly. Sam Morris provided the attached patch so WM_CLASS is consistently set, which also ensures the correct .desktop file is found when