summaryrefslogtreecommitdiff
path: root/hw/xnest/Window.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-09-11 12:44:54 -0400
committerAdam Jackson <ajax@redhat.com>2014-10-09 11:14:44 +0200
commit0d30d44a8cdacfbc99d8193f76c133b803464622 (patch)
tree37c947f12965f3544dc5f31d4b4c28d47154b2fe /hw/xnest/Window.c
parente2a3e91a56cb598f2c8257614d92ccd46b7fc094 (diff)
dix: Drop the third argument from WindowExposuresProcPtr
A careful read shows that it was always NULL. It hasn't always been; as the DDX spec indicates, it was the "occluded region that has backing store", but since that backing store code is long gone, we can nuke it. mi{,Overlay}WindowExposures get slightly simpler here, and will get even simpler in just a moment. Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw/xnest/Window.c')
-rw-r--r--hw/xnest/Window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xnest/Window.c b/hw/xnest/Window.c
index fc87e823e..8d9c67205 100644
--- a/hw/xnest/Window.c
+++ b/hw/xnest/Window.c
@@ -386,7 +386,7 @@ xnestWindowExposurePredicate(Display * dpy, XEvent * event, XPointer ptr)
}
void
-xnestWindowExposures(WindowPtr pWin, RegionPtr pRgn, RegionPtr other_exposed)
+xnestWindowExposures(WindowPtr pWin, RegionPtr pRgn)
{
XEvent event;
Window window;
@@ -410,7 +410,7 @@ xnestWindowExposures(WindowPtr pWin, RegionPtr pRgn, RegionPtr other_exposed)
XPutBackEvent(xnestDisplay, &event);
}
- miWindowExposures(pWin, pRgn, other_exposed);
+ miWindowExposures(pWin, pRgn);
}
void