mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
9b4be5a595
The noop backend is similar to headless, but it doesn't contain a renderer. It can be used as a place to stash views for when there's no physical outputs connected.
24 lines
454 B
C
24 lines
454 B
C
#ifndef BACKEND_NOOP_H
|
|
#define BACKEND_NOOP_H
|
|
|
|
#include <wlr/backend/noop.h>
|
|
#include <wlr/backend/interface.h>
|
|
|
|
struct wlr_noop_backend {
|
|
struct wlr_backend backend;
|
|
struct wl_display *display;
|
|
struct wl_list outputs;
|
|
bool started;
|
|
};
|
|
|
|
struct wlr_noop_output {
|
|
struct wlr_output wlr_output;
|
|
|
|
struct wlr_noop_backend *backend;
|
|
struct wl_list link;
|
|
};
|
|
|
|
struct wlr_noop_backend *noop_backend_from_backend(
|
|
struct wlr_backend *wlr_backend);
|
|
|
|
#endif
|