diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index 493ba56efc..2b67474aeb 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -1720,6 +1720,13 @@ gui_mch_init_check(void) } #endif +#if GTK_CHECK_VERSION(3,10,0) && !defined(HAVE_WAYLAND) + // Without Wayland display protocol support compiled in, force the X11 GDK + // backend to avoid display issues when running under a Wayland compositor + // (e.g., cmdline bottom half hidden in tiny builds, see patch 9.1.1585). + gdk_set_allowed_backends("x11"); +#endif + #ifdef FEAT_GUI_GNOME if (gtk_socket_id == 0) using_gnome = 1; diff --git a/src/version.c b/src/version.c index 2d8094030d..36d32a15ac 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 52, /**/ 51, /**/