mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-09 15:05:58 +01:00
27 lines
517 B
C
27 lines
517 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;
|
|
size_t last_output_num;
|
|
bool started;
|
|
|
|
struct wl_listener display_destroy;
|
|
};
|
|
|
|
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
|