summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-09-05 23:28:16 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-09-05 23:28:16 +0100
commit3979d11677bb4eb54099b9a8d0a28d4807828223 (patch)
treec59542f5baf413221bc9aee029176a4bb05b0d99 /tools
parent0baac6bba72638a69b6cb04c74493ee48e253884 (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.c4
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;