mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-22 16:10:05 +01:00
Remove dmxForceExposures. Regular expose event handling should
make sure expose events are propogated properly.
This commit is contained in:
parent
e2ad97af80
commit
2c85d3f93d
1 changed files with 0 additions and 27 deletions
|
|
@ -961,30 +961,6 @@ static void dmxBECreateWindowProperties (int idx)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Refresh screen by generating exposure events for all windows */
|
|
||||||
static void dmxForceExposures(int idx)
|
|
||||||
{
|
|
||||||
ScreenPtr pScreen = screenInfo.screens[idx];
|
|
||||||
WindowPtr pRoot = WindowTable[idx];
|
|
||||||
Bool anyMarked = FALSE;
|
|
||||||
WindowPtr pChild;
|
|
||||||
|
|
||||||
for (pChild = pRoot->firstChild; pChild; pChild = pChild->nextSib)
|
|
||||||
anyMarked |= pScreen->MarkOverlappedWindows(pChild, pChild,
|
|
||||||
(WindowPtr *)NULL);
|
|
||||||
if (anyMarked) {
|
|
||||||
/* If any windows have been marked, set the root window's
|
|
||||||
* clipList to be broken since it will be recalculated in
|
|
||||||
* ValidateTree()
|
|
||||||
*/
|
|
||||||
REGION_BREAK(pScreen, &pRoot->clipList);
|
|
||||||
pScreen->ValidateTree(pRoot, NULL, VTBroken);
|
|
||||||
pScreen->HandleExposures(pRoot);
|
|
||||||
if (pScreen->PostValidateTree)
|
|
||||||
pScreen->PostValidateTree(pRoot, NULL, VTBroken);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Compare the new and old screens to see if they are compatible. */
|
/** Compare the new and old screens to see if they are compatible. */
|
||||||
static Bool dmxCompareScreens(DMXScreenInfo *new,
|
static Bool dmxCompareScreens(DMXScreenInfo *new,
|
||||||
DMXScreenInfo *old,
|
DMXScreenInfo *old,
|
||||||
|
|
@ -1690,9 +1666,6 @@ dmxAttachScreen (int idx,
|
||||||
|
|
||||||
dmxBEMapRootWindow(idx);
|
dmxBEMapRootWindow(idx);
|
||||||
|
|
||||||
/* Refresh screen by generating exposure events for all windows */
|
|
||||||
dmxForceExposures(idx);
|
|
||||||
|
|
||||||
dmxSync(&dmxScreens[idx], TRUE);
|
dmxSync(&dmxScreens[idx], TRUE);
|
||||||
|
|
||||||
/* We used these to compare the old and new screens. They are no
|
/* We used these to compare the old and new screens. They are no
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue