mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 21:05:58 +01:00
6f5c70ac69
This will be necessary to provide it to clients via wl_output.
21 lines
613 B
C
21 lines
613 B
C
#ifndef _WLR_WAYLAND_INTERNAL_H
|
|
#define _WLR_WAYLAND_INTERNAL_H
|
|
|
|
#include <wayland-server.h>
|
|
#include <wlr/types.h>
|
|
#include <stdbool.h>
|
|
|
|
struct wlr_output_impl {
|
|
void (*enable)(struct wlr_output_state *state, bool enable);
|
|
bool (*set_mode)(struct wlr_output_state *state,
|
|
struct wlr_output_mode *mode);
|
|
void (*transform)(struct wlr_output_state *state,
|
|
enum wl_output_transform transform);
|
|
void (*destroy)(struct wlr_output_state *state);
|
|
};
|
|
|
|
struct wlr_output *wlr_output_create(struct wlr_output_impl *impl,
|
|
struct wlr_output_state *state);
|
|
void wlr_output_free(struct wlr_output *output);
|
|
|
|
#endif
|