Handle new transform argument in wl_output.geometry event

This commit is contained in:
Kristian Høgsberg 2012-07-22 15:49:57 -04:00
parent c4063f310a
commit 0e696478a9
4 changed files with 8 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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,