mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Let backend track transform state
This will be necessary to provide it to clients via wl_output.
This commit is contained in:
parent
e240fb0518
commit
6f5c70ac69
5 changed files with 55 additions and 38 deletions
|
|
@ -6,8 +6,11 @@
|
|||
#include <stdbool.h>
|
||||
|
||||
struct wlr_output_impl {
|
||||
bool (*set_mode)(struct wlr_output_state *state, struct wlr_output_mode *mode);
|
||||
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);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue