diff options
Diffstat (limited to 'src/session.c')
-rw-r--r-- | src/session.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/session.c b/src/session.c index 1787d62..77e0d3a 100644 --- a/src/session.c +++ b/src/session.c @@ -284,9 +284,9 @@ WriteWinConfigEntry(FILE *configFile, TwmWindow *theWindow, return 0; if (!windowRole) { - if (!write_counted_string(configFile, theWindow->class.res_name)) + if (!write_counted_string(configFile, theWindow->xclass.res_name)) return 0; - if (!write_counted_string(configFile, theWindow->class.res_class)) + if (!write_counted_string(configFile, theWindow->xclass.res_class)) return 0; if (theWindow->nameChanged) { /* @@ -557,9 +557,9 @@ GetWindowConfig(TwmWindow *theWindow, * changed in the previous session. */ - if (strcmp(theWindow->class.res_name, + if (strcmp(theWindow->xclass.res_name, ptr->xclass.res_name) == 0 && - strcmp(theWindow->class.res_class, + strcmp(theWindow->xclass.res_class, ptr->xclass.res_class) == 0 && (ptr->wm_name == NULL || strcmp(theWindow->name, ptr->wm_name) == 0)) { |