attachment #1964 (https://bugs.freedesktop.org/attachment.cgi?id=1964): move miScreenInit in front of pScreen->function initializations to prevent it from resetting ClipNotify.
This commit is contained in:
parent
c4b3fcda98
commit
775efdbd79
|
@ -249,6 +249,16 @@ xnestOpenScreen(int index, ScreenPtr pScreen, int argc, char *argv[])
|
|||
xnestHeight = gattributes.height;
|
||||
}
|
||||
|
||||
/* myNum */
|
||||
/* id */
|
||||
miScreenInit(pScreen, NULL, xnestWidth, xnestHeight, 1, 1, xnestWidth,
|
||||
rootDepth,
|
||||
numDepths, depths,
|
||||
defaultVisual, /* root visual */
|
||||
numVisuals, visuals);
|
||||
|
||||
/* miInitializeBackingStore(pScreen); */
|
||||
|
||||
pScreen->defColormap = (Colormap) FakeClientID(0);
|
||||
pScreen->minInstalledCmaps = MINCMAPS;
|
||||
pScreen->maxInstalledCmaps = MAXCMAPS;
|
||||
|
@ -332,15 +342,6 @@ xnestOpenScreen(int index, ScreenPtr pScreen, int argc, char *argv[])
|
|||
pScreen->WakeupHandler = (ScreenWakeupHandlerProcPtr)NoopDDA;
|
||||
pScreen->blockData = NULL;
|
||||
pScreen->wakeupData = NULL;
|
||||
/* myNum */
|
||||
/* id */
|
||||
miScreenInit(pScreen, NULL, xnestWidth, xnestHeight, 1, 1, xnestWidth,
|
||||
rootDepth,
|
||||
numDepths, depths,
|
||||
defaultVisual, /* root visual */
|
||||
numVisuals, visuals);
|
||||
|
||||
/* miInitializeBackingStore(pScreen); */
|
||||
|
||||
miPointerInitialize (pScreen, &xnestPointerSpriteFuncs,
|
||||
&xnestPointerCursorFuncs, True);
|
||||
|
|
Loading…
Reference in New Issue
Block a user