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

Avoid X-specific calls under Wayland #801

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dimkr
Copy link

@dimkr dimkr commented Aug 5, 2022

This is a very naive implementation of Wayland support: it assumes a non-X11 display is a Wayland display.

Either WAYLAND_DISPLAY or DISPLAY is passed to children depending on the GTK+ backend used by spacefm, so children of spacefm use Xwayland if spacefm itself does.

The desktop is always disabled under Wayland.

@eternal-sorrow
Copy link

In my opinion, the wayland support patch should add an ability to build a wayland-only version of an application. Including (conditional?) removal of all gdk/gdkx.h includes, because that header is missing in wayland-only gtk+ builds.

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