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