mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-25 01:49:58 +00:00
win.h
winfont.c
winmultiwindowshape.c
winmultiwindowwindow.c
winpfbdd.c
winshaddd.c
winshadddnl.c
winshadgdi.c
Fix incorrect wrapping of functions. Ensure the pointers from pScreen point
to the called function even if wrapped functions changed it
Set the window properties to NULL to avoid referencing freed memory because
of timing problems after deleting a window
Do not wrap ChangeWindowAttributes. All functions are noops currently
This commit is contained in:
parent
676fdb03f3
commit
8df7126f09
11 changed files with 282 additions and 87 deletions
|
|
@ -630,7 +630,7 @@ winCloseScreenShadowGDI (int nIndex, ScreenPtr pScreen)
|
|||
pScreenPriv->fActive = FALSE;
|
||||
|
||||
/* Call the wrapped CloseScreen procedure */
|
||||
pScreen->CloseScreen = pScreenPriv->CloseScreen;
|
||||
WIN_UNWRAP(CloseScreen);
|
||||
fReturn = (*pScreen->CloseScreen) (nIndex, pScreen);
|
||||
|
||||
/* Delete the window property */
|
||||
|
|
|
|||
Loading…
Reference in a new issue