Lines Matching defs:theWindow
274 WriteWinConfigEntry(FILE *configFile, TwmWindow *theWindow,
288 if (!write_counted_string(configFile, theWindow->xclass.res_name))
290 if (!write_counted_string(configFile, theWindow->xclass.res_class))
292 if (theWindow->nameChanged) {
303 if (!write_counted_string(configFile, theWindow->name))
309 XGetCommand(dpy, theWindow->w, &wm_command, &wm_command_count);
327 if (!write_byte(configFile, theWindow->icon ? 1 : 0)) /* iconified */
330 if (!write_byte(configFile, theWindow->icon_w ? 1 : 0)) /* icon exists */
333 if (theWindow->icon_w) {
337 XGetGeometry(dpy, theWindow->icon_w, &wdummy, &icon_x,
346 if (!write_short(configFile, (short) theWindow->frame_x))
348 if (!write_short(configFile, (short) theWindow->frame_y))
350 if (!write_ushort(configFile, (unsigned short) theWindow->attr.width))
352 if (!write_ushort(configFile, (unsigned short) theWindow->attr.height))
355 if (!write_byte(configFile, theWindow->widthEverChangedByUser ? 1 : 0))
358 if (!write_byte(configFile, theWindow->heightEverChangedByUser ? 1 : 0))
513 GetWindowConfig(TwmWindow *theWindow,
531 clientId = GetClientID(theWindow->w);
532 windowRole = GetWindowRole(theWindow->w);
561 if (strcmp(theWindow->xclass.res_name,
563 strcmp(theWindow->xclass.res_class,
566 strcmp(theWindow->name, ptr->wm_name) == 0)) {
584 XGetCommand(dpy, theWindow->w,
674 TwmWindow *theWindow;
753 theWindow = theScreen->TwmRoot.next;
755 while (theWindow && success) {
756 clientId = GetClientID(theWindow->w);
757 windowRole = GetWindowRole(theWindow->w);
759 if (!WriteWinConfigEntry(configFile, theWindow,
769 theWindow = theWindow->next;