Vimb - the vim like browser is a webkit based web browser that behaves like the vimperator plugin for the firefox and usage paradigms from the great editor vim. The goal of vimb is to build a completely keyboard-driven, efficient and pleasurable browsing-experience.
When FEATURE_NO_XEMBED is defined then we don't support using the Xembed interface, which will cause us to set the VIMB_XID envvar. With 55fb9cc (Add new env VIMB_WIN_ID to hold the gtk window id., 2021-01-25) a related feature was added that causes us to expose the Gtk window ID via the VIMB_WIN_ID environment variable. This feature also depends on X-specific information because it uses GDK_WINDOW_XID() to derive the window ID. This change thus broke Wayland-only environments.
Fix compilation by extending the ifdef to guard the logic that both sets the VIMB_XID and the VIMB_WIN_ID.
When FEATURE_NO_XEMBED is defined then we don't support using the Xembed interface, which will cause us to set the
VIMB_XID
envvar. With 55fb9cc (Add new env VIMB_WIN_ID to hold the gtk window id., 2021-01-25) a related feature was added that causes us to expose the Gtk window ID via theVIMB_WIN_ID
environment variable. This feature also depends on X-specific information because it usesGDK_WINDOW_XID()
to derive the window ID. This change thus broke Wayland-only environments.Fix compilation by extending the
ifdef
to guard the logic that both sets theVIMB_XID
and theVIMB_WIN_ID
.