commit | 8f9e87ff479a0c639d6fd79e446ad7230d3a4c06 | [log] [tgz] |
---|---|---|
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | Fri Jun 13 18:14:20 2014 +0200 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Thu Jun 19 10:04:18 2014 -0700 |
tree | 7b0d3791c1725505a1be9392bd018d567d56f37e | |
parent | ba2a36d5c5e19738d5f56812a5eb652b418e8184 [diff] [blame] |
compositor: update the surface size when there is a size change without a buffer attach This fixes at least the case where you want to do wl_viewport.set_destination to resize the surface but without attaching new content in it.
diff --git a/src/compositor.h b/src/compositor.h index 057f8be..eae1b20 100644 --- a/src/compositor.h +++ b/src/compositor.h
@@ -686,6 +686,8 @@ */ int32_t width, height; } surface; + + int changed; }; struct weston_region {