Fix crash reported by Øyvind Harboe
This commit is contained in:
parent
d146c41882
commit
d0d164e6da
|
@ -1,3 +1,8 @@
|
|||
2005-06-08 Alexander Gottwald <ago at freedesktop dot org>
|
||||
|
||||
* winmultiwindowwindow.c:
|
||||
Fix crash reported by Øyvind Harboe
|
||||
|
||||
2005-06-03 Alexander Gottwald <ago at freedesktop dot org>
|
||||
|
||||
* winmultiwindowwndproc.c:
|
||||
|
|
|
@ -855,6 +855,11 @@ winMinimizeWindow (Window id)
|
|||
#endif
|
||||
|
||||
pWin = LookupIDByType (id, RT_WINDOW);
|
||||
if (!pWin)
|
||||
{
|
||||
ErrorF("%s: NULL pWin. Leaving\n", __FUNCTION__);
|
||||
return;
|
||||
}
|
||||
|
||||
pScreen = pWin->drawable.pScreen;
|
||||
if (pScreen) pScreenPriv = winGetScreenPriv(pScreen);
|
||||
|
|
Loading…
Reference in New Issue
Block a user