mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-07 18:58:06 +02:00
Handle new transform argument in wl_output.geometry event
This commit is contained in:
parent
c4063f310a
commit
0e696478a9
4 changed files with 8 additions and 4 deletions
|
|
@ -62,7 +62,8 @@ display_handle_geometry(void *data,
|
|||
int physical_height,
|
||||
int subpixel,
|
||||
const char *make,
|
||||
const char *model)
|
||||
const char *model,
|
||||
int transform)
|
||||
{
|
||||
struct screenshooter_output *output;
|
||||
|
||||
|
|
|
|||
|
|
@ -3194,7 +3194,8 @@ display_handle_geometry(void *data,
|
|||
int physical_height,
|
||||
int subpixel,
|
||||
const char *make,
|
||||
const char *model)
|
||||
const char *model,
|
||||
int transform)
|
||||
{
|
||||
struct output *output = data;
|
||||
|
||||
|
|
|
|||
|
|
@ -497,7 +497,8 @@ display_handle_geometry(void *data,
|
|||
int physical_height,
|
||||
int subpixel,
|
||||
const char *make,
|
||||
const char *model)
|
||||
const char *model,
|
||||
int transform)
|
||||
{
|
||||
struct wayland_compositor *c = data;
|
||||
|
||||
|
|
|
|||
|
|
@ -2781,7 +2781,8 @@ bind_output(struct wl_client *client,
|
|||
output->mm_width,
|
||||
output->mm_height,
|
||||
output->subpixel,
|
||||
output->make, output->model);
|
||||
output->make, output->model,
|
||||
WL_OUTPUT_TRANSFORM_NORMAL);
|
||||
|
||||
wl_list_for_each (mode, &output->mode_list, link) {
|
||||
wl_output_send_mode(resource,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue