output: Add transform
parent
a3d4189a0b
commit
35ffc2dac7
|
@ -16,6 +16,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <wayland-client-protocol.h>
|
||||
#include <wayland-client.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -34,6 +35,8 @@ struct output {
|
|||
uint32_t x;
|
||||
uint32_t y;
|
||||
|
||||
enum wl_output_transform transform;
|
||||
|
||||
char make[256];
|
||||
char model[256];
|
||||
char name[256];
|
||||
|
|
|
@ -37,6 +37,8 @@ static void output_handle_geometry(void* data, struct wl_output* wl_output,
|
|||
|
||||
output->x = x;
|
||||
output->y = y;
|
||||
output->transform = transform;
|
||||
|
||||
strlcpy(output->make, make, sizeof(output->make));
|
||||
strlcpy(output->model, model, sizeof(output->model));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue