Fix crash reported by Øyvind Harboe

This commit is contained in:
Alexander Gottwald 2005-06-08 09:01:41 +00:00
parent d146c41882
commit d0d164e6da
2 changed files with 10 additions and 0 deletions

View File

@ -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:

View File

@ -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);