commit | e32c37677611a21395ca52d541181bba5f377ddd | [log] [tgz] |
---|---|---|
author | Alexander Larsson <alexl@redhat.com> | Tue May 28 16:23:37 2013 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue May 28 16:22:40 2013 -0400 |
tree | 8ec868f12f9eb89ccb398f55aceac760561718b7 | |
parent | 0b13506ecf649b1685944ef01d9b60cabad117b3 [diff] [blame] |
compositor: Store original output scale We want this so we can restore the original mode with the original size (after having been fullscreen).
diff --git a/src/compositor.c b/src/compositor.c index 9c0315d..db5a32d 100644 --- a/src/compositor.c +++ b/src/compositor.c
@@ -2697,6 +2697,7 @@ output->mm_width = mm_width; output->mm_height = mm_height; output->dirty = 1; + output->origin_scale = scale; weston_output_transform_scale_init(output, transform, scale); weston_output_init_zoom(output);