/*****************************************************************************
* x11_loop.cpp
*****************************************************************************
- * Copyright (C) 2003 VideoLAN
+ * Copyright (C) 2003 VideoLAN (Centrale Réseaux) and its contributors
* $Id$
*
* Authors: Cyril Deguet <asmax@via.ecp.fr>
{
// When the "parent" window is mapped, show all the visible
// windows, as it is not automatic, unfortunately
- getIntf()->p_sys->p_theme->getWindowManager().synchVisibility();
+ Theme *pTheme = getIntf()->p_sys->p_theme;
+ if( pTheme )
+ {
+ pTheme->getWindowManager().synchVisibility();
+ }
}
return;
}