Lines Matching refs:winbox
24 WindowBox *winbox;
29 winbox = malloc(sizeof(WindowBox));
30 winbox->next = NULL;
31 winbox->name = strdup(boxname);
32 winbox->geometry = strdup(geometry);
33 winbox->winlist = NULL;
35 Scr->FirstWindowBox = winbox;
37 return (&(winbox->winlist));
42 WindowBox *winbox;
47 for(winbox = Scr->FirstWindowBox; winbox; winbox = winbox->next) {
52 mask = RLayoutXParseGeometry(Scr->Layout, winbox->geometry,
69 winbox->name, win, x, y, w, h);
71 sprintf(title, "%s", winbox->name);
87 winbox->window = win;
88 winbox->twmwin = AddWindow(win, AWT_WINDOWBOX, NULL, Scr->currentvs);
89 if(!winbox->twmwin) {
90 fprintf(stderr, "cannot create %s window box, exiting...\n", winbox->name);
93 winbox->twmwin->iswinbox = true;
100 WindowBox *winbox;
107 for(winbox = Scr->FirstWindowBox; winbox; winbox = winbox->next) {
108 if(LookInList(winbox->winlist, twmwin->name, &twmwin->class)) {
109 if(visible(winbox->twmwin)) {
110 twmwin->winbox = winbox;
111 return winbox;
124 XGetWindowAttributes(dpy, twmwin->winbox->window, &attr);
148 if(t->winbox && (t->winbox->twmwin == twmwin)) {
171 if(t->winbox && (t->winbox->twmwin == twmwin)) {