Blame xserver-1.3.0-xnest-exposures.patch
|
|
115cc5d |
--- xorg-server-1.2.99.905/hw/xnest/Events.c.jx 2007-01-31 19:55:51.000000000 -0500
|
|
|
115cc5d |
+++ xorg-server-1.2.99.905/hw/xnest/Events.c 2007-04-09 18:42:51.000000000 -0400
|
|
|
115cc5d |
@@ -85,7 +85,7 @@
|
|
|
115cc5d |
while (XCheckIfEvent(xnestDisplay, &X, xnestExposurePredicate, NULL)) {
|
|
|
115cc5d |
pWin = xnestWindowPtr(X.xexpose.window);
|
|
|
115cc5d |
|
|
|
115cc5d |
- if (pWin) {
|
|
|
115cc5d |
+ if (pWin && X.xexpose.width && X.xexpose.height) {
|
|
|
115cc5d |
Box.x1 = pWin->drawable.x + wBorderWidth(pWin) + X.xexpose.x;
|
|
|
115cc5d |
Box.y1 = pWin->drawable.y + wBorderWidth(pWin) + X.xexpose.y;
|
|
|
115cc5d |
Box.x2 = Box.x1 + X.xexpose.width;
|
|
|
115cc5d |
@@ -93,7 +93,7 @@
|
|
|
115cc5d |
|
|
|
115cc5d |
REGION_INIT(pWin->drawable.pScreen, &Rgn, &Box, 1);
|
|
|
115cc5d |
|
|
|
115cc5d |
- miWindowExposures(pWin, &Rgn, NullRegion);
|
|
|
115cc5d |
+ miSendExposures(pWin, &Rgn, Box.x2, Box.y2);
|
|
|
115cc5d |
}
|
|
|
115cc5d |
}
|
|
|
115cc5d |
}
|