Handle new transform argument in wl_output.geometry event
This commit is contained in:
parent
c4063f310a
commit
0e696478a9
|
@ -62,7 +62,8 @@ display_handle_geometry(void *data,
|
||||||
int physical_height,
|
int physical_height,
|
||||||
int subpixel,
|
int subpixel,
|
||||||
const char *make,
|
const char *make,
|
||||||
const char *model)
|
const char *model,
|
||||||
|
int transform)
|
||||||
{
|
{
|
||||||
struct screenshooter_output *output;
|
struct screenshooter_output *output;
|
||||||
|
|
||||||
|
|
|
@ -3194,7 +3194,8 @@ display_handle_geometry(void *data,
|
||||||
int physical_height,
|
int physical_height,
|
||||||
int subpixel,
|
int subpixel,
|
||||||
const char *make,
|
const char *make,
|
||||||
const char *model)
|
const char *model,
|
||||||
|
int transform)
|
||||||
{
|
{
|
||||||
struct output *output = data;
|
struct output *output = data;
|
||||||
|
|
||||||
|
|
|
@ -497,7 +497,8 @@ display_handle_geometry(void *data,
|
||||||
int physical_height,
|
int physical_height,
|
||||||
int subpixel,
|
int subpixel,
|
||||||
const char *make,
|
const char *make,
|
||||||
const char *model)
|
const char *model,
|
||||||
|
int transform)
|
||||||
{
|
{
|
||||||
struct wayland_compositor *c = data;
|
struct wayland_compositor *c = data;
|
||||||
|
|
||||||
|
|
|
@ -2781,7 +2781,8 @@ bind_output(struct wl_client *client,
|
||||||
output->mm_width,
|
output->mm_width,
|
||||||
output->mm_height,
|
output->mm_height,
|
||||||
output->subpixel,
|
output->subpixel,
|
||||||
output->make, output->model);
|
output->make, output->model,
|
||||||
|
WL_OUTPUT_TRANSFORM_NORMAL);
|
||||||
|
|
||||||
wl_list_for_each (mode, &output->mode_list, link) {
|
wl_list_for_each (mode, &output->mode_list, link) {
|
||||||
wl_output_send_mode(resource,
|
wl_output_send_mode(resource,
|
||||||
|
|
Loading…
Reference in New Issue