patch 9.1.1585: Wayland: gvim still needs GVIM_ENABLE_WAYLAND
Problem: Wayland: gvim still needs GVIM_ENABLE_WAYLAND
Solution: Drop the GVIM_ENABLE_WAYLAND code, always enable both X11 and
Wayland GUI support (Christoffer Aasted)
closes: #17817
Signed-off-by: Christoffer Aasted <chr.aasted@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
714671de35
commit
48a3b146b4
@ -1732,15 +1732,6 @@ gui_mch_init_check(void)
|
||||
}
|
||||
#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.
|
||||
//
|
||||
// Use an environment variable to enable unfinished Wayland support.
|
||||
if (getenv("GVIM_ENABLE_WAYLAND") == NULL)
|
||||
gdk_set_allowed_backends ("x11");
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_GUI_GNOME
|
||||
if (gtk_socket_id == 0)
|
||||
using_gnome = 1;
|
||||
|
||||
@ -719,6 +719,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1585,
|
||||
/**/
|
||||
1584,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user