1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 21:38:00 +01:00

fixed prob with window shortcut state saving

This commit is contained in:
kojima
2000-04-05 17:35:33 +00:00
parent 11bf9c8038
commit af3f33ecb9

View File

@@ -442,11 +442,11 @@ getWindowState(WScreen *scr, proplist_t win_state)
state->miniaturized = getBool(value);
if ((value = PLGetDictionaryEntry(win_state, sHidden))!=NULL)
state->hidden = getBool(value);
if ((value = PLGetDictionaryEntry(win_state, sHidden))!=NULL) {
if ((value = PLGetDictionaryEntry(win_state, sShortcutMask))!=NULL) {
mask = getInt(value);
state->window_shortcuts = mask;
}
value = PLGetDictionaryEntry(win_state, sGeometry);
if (value && PLIsString(value)) {
if (sscanf(PLGetString(value), "%ix%i+%i+%i",