Lines Matching refs:twmwin
88 winbox->twmwin = AddWindow(win, AWT_WINDOWBOX, NULL, Scr->currentvs);
89 if(!winbox->twmwin) {
93 winbox->twmwin->iswinbox = true;
98 WindowBox *findWindowBox(TwmWindow *twmwin)
101 if(twmwin->iswinbox) {
108 if(LookInList(winbox->winlist, twmwin->name, &twmwin->class)) {
109 if(visible(winbox->twmwin)) {
110 twmwin->winbox = winbox;
118 void ConstrainedToWinBox(TwmWindow *twmwin, int x, int y, int *nx, int *ny)
124 XGetWindowAttributes(dpy, twmwin->winbox->window, &attr);
139 void fittocontent(TwmWindow *twmwin)
148 if(t->winbox && (t->winbox->twmwin == twmwin)) {
165 x = twmwin->frame_x + minx;
166 y = twmwin->frame_y + miny;
167 w = maxx - minx + 2 * twmwin->frame_bw3D;
168 h = maxy - miny + 2 * twmwin->frame_bw3D;
169 SetupWindow(twmwin, x, y, w, h, -1);
171 if(t->winbox && (t->winbox->twmwin == twmwin)) {