mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Initialize headless backend
This commit is contained in:
parent
3363ea869a
commit
3970264ccf
6 changed files with 282 additions and 1 deletions
13
include/wlr/backend/headless.h
Normal file
13
include/wlr/backend/headless.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef WLR_BACKEND_HEADLESS_H
|
||||
#define WLR_BACKEND_HEADLESS_H
|
||||
|
||||
#include <wlr/backend.h>
|
||||
#include <wlr/types/wlr_input_device.h>
|
||||
|
||||
struct wlr_backend *wlr_headless_backend_create(struct wl_display *display);
|
||||
struct wlr_output *wlr_headless_add_output(struct wlr_backend *backend,
|
||||
unsigned int width, unsigned int height);
|
||||
struct wlr_input_device *wlr_headless_add_input(struct wlr_backend *backend,
|
||||
enum wlr_input_device_type type);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue