Skip to content

Conversation

@Tatsh
Copy link

@Tatsh Tatsh commented Dec 6, 2025

Closes #142

Copilot AI review requested due to automatic review settings December 6, 2025 16:07
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR forces the use of the X11 backend for GTK+ 3 applications running on Wayland systems by calling gdk_set_allowed_backends("x11") during application initialization. This is necessary because the application uses X11-specific APIs (like XOpenDisplay) that are incompatible with the Wayland backend.

  • Adds a single call to gdk_set_allowed_backends("x11") in the initialization routine
  • Ensures X11 backend is used even when GTK+ 3 defaults to Wayland
  • Placed correctly before gtk_init() to take effect during GDK initialization

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linux: Gtk+ 3 + Wayland crash on start

1 participant