summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
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;