Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/libweston/compositor.c
- +++ b/libweston/compositor.c
- @@ -1127,6 +1127,7 @@ weston_view_set_output(struct weston_view *view, struct weston_output *output)
- }
- view->output = output;
- if (output) {
- + output->width = 1600; /* double the horizontal pixels on the screen */
- view->output_destroy_listener.notify =
- notify_view_output_destroy;
- wl_signal_add(&output->destroy_signal,
- @@ -6415,6 +6416,7 @@ weston_output_update_matrix(struct weston_output *output)
- output->width, output->height,
- output->current_scale);
- + weston_matrix_scale(&output->matrix, 0.5, 1, 1);
- weston_matrix_invert(&output->inverse_matrix, &output->matrix);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement