Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for GTK3 builds in Wayland sessions #156

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

yselkowitz
Copy link
Contributor

  • Force X11 if built without AppIndicator
  • Fix issues when running on GTK3 with Wayland

When built without AppIndicator, this is by definition an X11 tray icon.
When built with GTK3 (which is usually built to support both Wayland and
X11), and run on a Wayland desktop, X11/XWayland is the only viable
option for this program, and needs to be forced to start properly.
Because GTK3 supports multiple backends, any backend-specific code (such
as X11 key grabbing or property interaction) needs to be conditionalized
at runtime.  Otherwise, when built with AppIndicator support and run on
a Wayland desktop, the attempted X11 calls will cause this to crash.
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.

2 participants