[PATCH] compositor: Disallow negative geometries in backend output configs

Bryce Harrington bryce at osg.samsung.com
Fri Oct 23 15:29:23 PDT 2015


Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>
---
 src/compositor.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/compositor.h b/src/compositor.h
index 6bb6222..4443c72 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -619,9 +619,9 @@ enum weston_capability {
  */
 struct weston_backend_output_config {
 	uint32_t transform;
-	int32_t width;
-	int32_t height;
-	int scale;
+	uint32_t width;
+	uint32_t height;
+	uint32_t scale;
 };
 
 /* Configuration struct for a backend.
-- 
1.9.1



More information about the wayland-devel mailing list