- {
- char *s = get_string_resource ("windowID", "WindowID");
- if (s && *s)
- on_window = get_integer_resource ("windowID", "WindowID");
- if (s) free (s);
- }
-
- if (on_window)
- {
- XWindowAttributes xgwa;
- window = (Window) on_window;
- XtDestroyWidget (toplevel);
- XGetWindowAttributes (dpy, window, &xgwa);
- cmap = xgwa.colormap;
- visual = xgwa.visual;
- visual_warning (screen, window, visual, cmap, True);
- }
- else if (root_p)