-*gui_x11.txt* For Vim version 9.1. Last change: 2024 Nov 17
+*gui_x11.txt* For Vim version 9.1. Last change: 2025 Jul 23
VIM REFERENCE MANUAL by Bram Moolenaar
won't give an error message, Vim will crash later).
*gui-wayland*
-Initial support for the Wayland display server protocol has landed in patch
-9.1.0064. To enable it, you need to set the environment variable
-"$GVIM_ENABLE_WAYLAND" in your shell.
+Support for the Wayland display server protocol has landed in patch
+9.1.0064.
Note: The Wayland protocol is subject to some restrictions, so the following
functions won't work: |getwinpos()|, |getwinposx()|, |getwinposy()| and the
}
#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;