Bug#819954: vim-gtk3: crashes on startup under Wayland: gdk_window_get_display: assertion 'GDK_IS_WINDOW (window)' failed

Simon McVittie smcv at debian.org
Mon Apr 4 09:55:34 UTC 2016

Control: tags 819954 + patch upstream

On Mon, 04 Apr 2016 at 10:03:48 +0100, Simon McVittie wrote:
> vim appears to assume that Gtk implies X11, so until/unless that assumption
> can be disentangled, it should force the use of the X11 backend by putting
>     gdk_set_allowed_backends ("x11");
> before the first call to gdk_display_open(), gtk_init() or gtk_init_*().

The attached patch seems to work.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gui_gtk_x11-explicitly-disable-non-X11-Gtk3-backends.patch
Type: text/x-diff
Size: 1324 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20160404/33e767cb/attachment.patch>

More information about the pkg-vim-maintainers mailing list