I compiled the Mega65 emulator from Xemu to play Roguecraft DX. The context menu did not show up, although I compiled the emulator with GTK3 support.
The configuration detected GTK3 successfully:
Checking for GTK3 (via pkg-config [--cflags-only-I|--libs] gtk+-3.0) … YES
In the GitHub repository issues I found the problem, it does not work with wayland. To get it to work the x11 backend for GDK needs to be used. Execute this before starting the emulator in the same terminal session:
export GDK_BACKEND=x11
