Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Be able to get the Backend from the Compositor #170

Closed
Timidger opened this issue May 30, 2018 · 0 comments
Closed

Be able to get the Backend from the Compositor #170

Timidger opened this issue May 30, 2018 · 0 comments
Milestone

Comments

@Timidger
Copy link
Member

Timidger commented May 30, 2018

Depending on the backend you may be able to do certain things (e.g. fake outputs on the Wayland/X11 backends).

To accomplish this, we should have a Backend enum that is returned from the compositor.

It should look something like the following:

enum Backend {
    Wayland(*mut wlr_backend),
    X11(*mut wlr_backend),
    DRM(*mut wlr_backend),
    Headless(*mut wlr_backend),
    Multi(Vec<Backend>)
}

Related to #169.

@Timidger Timidger added this to the Basic wrapping milestone May 30, 2018
@Timidger Timidger mentioned this issue Jun 5, 2018
1 task
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant