mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Initialize display, backend; add frame handling
This commit is contained in:
parent
550748681d
commit
b6d7c3ed8e
9 changed files with 253 additions and 36 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef _WLR_INTERNAL_BACKEND_WAYLAND_H
|
||||
#define _WLR_INTERNAL_BACKEND_WAYLAND_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <wayland-client.h>
|
||||
#include <wayland-server.h>
|
||||
#include <wayland-egl.h>
|
||||
|
|
@ -14,6 +15,7 @@ struct wlr_wl_backend {
|
|||
struct wlr_backend backend;
|
||||
|
||||
/* local state */
|
||||
bool started;
|
||||
struct wl_display *local_display;
|
||||
list_t *devices;
|
||||
list_t *outputs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue