|
|
@ -1,6 +1,5 @@
|
|
|
|
#ifndef WLR_BACKEND_WAYLAND_H
|
|
|
|
#ifndef WLR_BACKEND_WAYLAND_H
|
|
|
|
#define WLR_BACKEND_WAYLAND_H
|
|
|
|
#define WLR_BACKEND_WAYLAND_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <wayland-client.h>
|
|
|
|
#include <wayland-client.h>
|
|
|
|
#include <wayland-server.h>
|
|
|
|
#include <wayland-server.h>
|
|
|
@ -16,8 +15,8 @@
|
|
|
|
* to NULL for the default behaviour (WAYLAND_DISPLAY env variable or wayland-0
|
|
|
|
* to NULL for the default behaviour (WAYLAND_DISPLAY env variable or wayland-0
|
|
|
|
* default)
|
|
|
|
* default)
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
struct wlr_backend *wlr_wl_backend_create(struct wl_display *display, const char *remote,
|
|
|
|
struct wlr_backend *wlr_wl_backend_create(struct wl_display *display,
|
|
|
|
wlr_renderer_create_func_t create_renderer_func);
|
|
|
|
const char *remote, wlr_renderer_create_func_t create_renderer_func);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Adds a new output to this backend. You may remove outputs by destroying them.
|
|
|
|
* Adds a new output to this backend. You may remove outputs by destroying them.
|
|
|
@ -42,4 +41,9 @@ bool wlr_input_device_is_wl(struct wlr_input_device *device);
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
bool wlr_output_is_wl(struct wlr_output *output);
|
|
|
|
bool wlr_output_is_wl(struct wlr_output *output);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Sets the title of a wlr_output which is a Wayland window.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
void wlr_wl_output_set_title(struct wlr_output *output, const char *title);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|