compositor: Disallow negative geometries in backend output configs

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewed-by: Giulio Camuffo <giuliocamuffo@gmail.com>
dev
Bryce Harrington 9 years ago
parent cd0f1acff4
commit 32c3211e38
  1. 6
      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.

Loading…
Cancel
Save