mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Fix crash reported by yvind Harboe
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user