Skip to content

Avoid X-specific calls under Wayland#801

Open
dimkr wants to merge 1 commit intoIgnorantGuru:masterfrom
dimkr:wayland
Open

Avoid X-specific calls under Wayland#801
dimkr wants to merge 1 commit intoIgnorantGuru:masterfrom
dimkr:wayland

Conversation

@dimkr
Copy link
Copy Markdown

@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
Copy Markdown

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