Skip to content

hiro gtk3: Support native Wayland display #107

Open
@Screwtapello

Description

@Screwtapello

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions