Open
Description
Currently, when you build bsnes with hiro=gtk3
, it works well enough under X11, but it crashes when run under Wayland. That's because hiro does a lot of things directly via Xlib since GTK2 didn't provide an API for them. Often GTK3 does provide an API for them, but to keep GTK2 and GTK3 supported side-by-side, hiro uses the same Xlib code for both.
You can run bsnes with GTK3 under Wayland if you set GDK_BACKEND=x11
in the environment before running it, and assuming your Wayland compositor has XWayland support enabled (which they probably all do).