afcbbe25e6
- BuildRequires: git. - Manage the source directory as a git repo. - Use git-am(1) to apply patches instead of %patch. - Reformat a bunch of patches to conform to git-am's rules. - Add wfb to file manifest. - Drop afb, sorry Amiga users. - Delete the SecurityPolicy man page from the buildroot, until we have a xorg-x11-server-common. - Update to today's snapshot.
26 lines
904 B
Diff
26 lines
904 B
Diff
From: Adam Jackson <ajax@redhat.com>
|
|
Date: Sun, 28 Oct 2007 09:37:52 +0100
|
|
Subject: [PATCH] Fix exposure generation in Xnest
|
|
|
|
---
|
|
--- 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);
|
|
}
|
|
}
|
|
}
|