mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Generalize DPMS, remove DRM refs from example
This commit is contained in:
parent
03c9b46034
commit
fee409bd0a
10 changed files with 65 additions and 50 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#define _WLR_BACKEND_H
|
||||
|
||||
#include <wayland-server.h>
|
||||
#include <wlr/session.h>
|
||||
|
||||
struct wlr_backend_impl;
|
||||
struct wlr_backend_state;
|
||||
|
|
@ -22,7 +23,8 @@ struct wlr_backend {
|
|||
} events;
|
||||
};
|
||||
|
||||
struct wlr_backend *wlr_backend_autocreate();
|
||||
struct wlr_backend *wlr_backend_autocreate(struct wl_display *display,
|
||||
struct wlr_session *session);
|
||||
bool wlr_backend_init(struct wlr_backend *backend);
|
||||
void wlr_backend_destroy(struct wlr_backend *backend);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue