diff options
Diffstat (limited to 'src/menus.c')
-rw-r--r-- | src/menus.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/menus.c b/src/menus.c index 9903f75..39d6d34 100644 --- a/src/menus.c +++ b/src/menus.c @@ -2041,13 +2041,13 @@ ExecuteFunction(int func, const char *action, Window w, TwmWindow *tmp_win, } if (!t) { for (t = Scr->TwmRoot.next; t != NULL; t = t->next) { - if (!strncmp(action, t->class.res_name, (size_t) len)) + if (!strncmp(action, t->xclass.res_name, (size_t) len)) if (WarpThere(t)) break; } if (!t) { for (t = Scr->TwmRoot.next; t != NULL; t = t->next) { - if (!strncmp(action, t->class.res_class, (size_t) len)) + if (!strncmp(action, t->xclass.res_class, (size_t) len)) if (WarpThere(t)) break; } @@ -2395,7 +2395,7 @@ DeIconify(TwmWindow *tmp_win) if (tmp_win->list) XUnmapWindow(dpy, tmp_win->list->icon); if ((Scr->WarpCursor || - LookInList(Scr->WarpCursorL, tmp_win->full_name, &tmp_win->class)) && + LookInList(Scr->WarpCursorL, tmp_win->full_name, &tmp_win->xclass)) && tmp_win->icon) WarpToWindow(tmp_win); tmp_win->icon = FALSE; @@ -2541,9 +2541,9 @@ Identify(TwmWindow *t) snprintf(Info[n++], INFO_SIZE, "Name = \"%s\"", t->full_name); snprintf(Info[n++], INFO_SIZE, - "Class.res_name = \"%s\"", t->class.res_name); + "Class.res_name = \"%s\"", t->xclass.res_name); snprintf(Info[n++], INFO_SIZE, - "Class.res_class = \"%s\"", t->class.res_class); + "Class.res_class = \"%s\"", t->xclass.res_class); Info[n++][0] = '\0'; snprintf(Info[n++], INFO_SIZE, "Geometry/root = %ux%u+%d+%d", wwidth, wheight, x, y); |