window: Track and report input and opaque regions

We just set the input region to the bounding box of the window frame
and set the opaque region to be the opaque rectangle inside the window
if the child widget is opaque.
This commit is contained in:
Kristian Høgsberg
2012-02-23 17:30:45 -05:00
parent dd631c1c36
commit 010f98b083
8 changed files with 63 additions and 22 deletions
+1 -3
View File
@@ -222,11 +222,9 @@ static int
test(void)
{
struct weston_matrix m;
struct weston_matrix n;
double det, errsup;
randomize_matrix(&m);
n = m;
det = determinant(&m);
errsup = test_inverse(&m);
@@ -237,7 +235,7 @@ test(void)
return TEST_NOT_INVERTIBLE_OK;
printf("test fail, det: %g, error sup: %g\n", det, errsup);
/* print_matrix(&n);*/
return TEST_FAIL;
}