Use pixman regions to reduce repainting

For now, we just use glScissor and clip to the extent of the damage region,
but we can do even better by clipping the repaint to the region rectangles.
diff --git a/compositor/shell.c b/compositor/shell.c
index 1ff32e9..a19d3db 100644
--- a/compositor/shell.c
+++ b/compositor/shell.c
@@ -40,9 +40,11 @@
 	struct wlsc_move_grab *move = (struct wlsc_move_grab *) grab;
 	struct wlsc_surface *es = move->surface;
 
+	wlsc_surface_damage(es);
 	es->x = x + move->dx;
 	es->y = y + move->dy;
 	wlsc_surface_update_matrix(es);
+	wlsc_surface_damage(es);
 }
 
 static void