mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
Fixed a bug that made the crash panel to be shown again and again when the
'Restart Window Maker' option was selected, under some circumstances. (bug reported by Roberto Sanchez <rcsanchez97@yahoo.es>)
This commit is contained in:
@@ -2750,6 +2750,10 @@ wMenuRestoreState(WScreen *scr)
|
||||
{
|
||||
WMPropList *menus, *menu, *key, *skey;
|
||||
|
||||
if (!scr->session_state) {
|
||||
return;
|
||||
}
|
||||
|
||||
key = WMCreatePLString("Menus");
|
||||
menus = WMGetFromPLDictionary(scr->session_state, key);
|
||||
WMReleasePropList(key);
|
||||
|
||||
Reference in New Issue
Block a user