mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 7.4.1713
Problem: GTK GUI doesn't work on Wayland. Solution: Specify that only the X11 backend is allowed. (Simon McVittie)
This commit is contained in:
@@ -1679,6 +1679,12 @@ gui_mch_init_check(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if GTK_CHECK_VERSION(3,10,0)
|
||||||
|
/* Vim currently assumes that Gtk means X11, so it cannot use native Gtk
|
||||||
|
* support for other backends such as Wayland. */
|
||||||
|
gdk_set_allowed_backends ("x11");
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef FEAT_GUI_GNOME
|
#ifdef FEAT_GUI_GNOME
|
||||||
if (gtk_socket_id == 0)
|
if (gtk_socket_id == 0)
|
||||||
using_gnome = 1;
|
using_gnome = 1;
|
||||||
|
@@ -748,6 +748,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 */
|
||||||
|
/**/
|
||||||
|
1713,
|
||||||
/**/
|
/**/
|
||||||
1712,
|
1712,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user