From c1f107973ff25bb24ac27b3115b63756bcb9acc0 Mon Sep 17 00:00:00 2001
From: Mike Lothian <mike@fireburn.co.uk>
Date: Sat, 11 Oct 2014 14:27:44 +0100
Subject: [PATCH] sna: Work around miHandleExposures dropping plane
---
src/sna/fb/fbcopy.c | 3 +--
src/sna/sna_accel.c | 5 ++---
2 files changed, 3 insertions(+), 5 deletions(-)
@@ -220,6 +220,5 @@ fbCopyPlane(DrawablePtr src, DrawablePtr dst, GCPtr gc,
fbCopy1toN, (Pixel) bitplane, 0);
else
return miHandleExposures(src, dst, gc,
- sx, sy, width, height, dx, dy,
- bitplane);
+ sx, sy, width, height, dx, dy);
}
@@ -7006,8 +7006,7 @@ sna_do_copy(DrawablePtr src, DrawablePtr dst, GCPtr gc,
clip = miHandleExposures(src, dst, gc,
sx - src->x, sy - src->y,
width, height,
- dx - dst->x, dy - dst->y,
- (unsigned long) bitPlane);
+ dx - dst->x, dy - dst->y);
return clip;
}
@@ -8716,7 +8715,7 @@ empty:
return miHandleExposures(src, dst, gc,
src_x, src_y,
w, h,
- dst_x, dst_y, bit);
+ dst_x, dst_y);
}
static bool
--
2.1.2