diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-05 23:28:16 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-09-05 23:28:16 +0100 |
commit | 3979d11677bb4eb54099b9a8d0a28d4807828223 (patch) | |
tree | c59542f5baf413221bc9aee029176a4bb05b0d99 /tools | |
parent | 0baac6bba72638a69b6cb04c74493ee48e253884 (diff) |
intel-virtual-output: Just request Damage BBox
As we ourselves only track the BBox of damage on the virtual outputs, we
can ask X to amalgamate the damage events as well.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/virtual.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/virtual.c b/tools/virtual.c index 4da2f3ab..2262e555 100644 --- a/tools/virtual.c +++ b/tools/virtual.c @@ -1756,7 +1756,7 @@ static int display_init_damage(struct display *display) return EINVAL; } - display->damage = XDamageCreate(display->dpy, display->root, XDamageReportRawRectangles); + display->damage = XDamageCreate(display->dpy, display->root, XDamageReportBoundingBox); if (display->damage == 0) return EACCES; @@ -1768,7 +1768,7 @@ static void display_reset_damage(struct display *display) { Damage damage; - damage = XDamageCreate(display->dpy, display->root, XDamageReportRawRectangles); + damage = XDamageCreate(display->dpy, display->root, XDamageReportBoundingBox); if (damage) { XDamageDestroy(display->dpy, display->damage); display->damage = damage; |