Lines Matching refs:cre

2255     XConfigureRequestEvent *cre = &Event.xconfigurerequest;
2260 if (cre->value_mask & CWX)
2261 fprintf(stderr, " x = %d\n", cre->x);
2262 if (cre->value_mask & CWY)
2263 fprintf(stderr, " y = %d\n", cre->y);
2264 if (cre->value_mask & CWWidth)
2265 fprintf(stderr, " width = %d\n", cre->width);
2266 if (cre->value_mask & CWHeight)
2267 fprintf(stderr, " height = %d\n", cre->height);
2268 if (cre->value_mask & CWSibling)
2269 fprintf(stderr, " above = 0x%x\n", cre->above);
2270 if (cre->value_mask & CWStackMode)
2271 fprintf(stderr, " stack = %d\n", cre->detail);
2278 Event.xany.window = cre->window; /* mash parent field */
2280 if (XFindContext(dpy, cre->window, TwmContext, &context_data) == 0)
2291 if (!Tmp_win || Tmp_win->icon_w == cre->window) {
2294 xwcm = cre->value_mask &
2296 xwc.x = cre->x;
2297 xwc.y = cre->y;
2298 xwc.width = cre->width;
2299 xwc.height = cre->height;
2300 xwc.border_width = cre->border_width;
2306 if ((cre->value_mask & CWStackMode) && Tmp_win->stackmode) {
2309 if (cre->value_mask & CWSibling) {
2310 if (XFindContext(dpy, cre->above, TwmContext, &context_data) == 0)
2314 xwc.sibling = (otherwin != NULL) ? otherwin->frame : cre->above;
2315 xwc.stack_mode = cre->detail;
2317 cre->value_mask & (CWSibling | CWStackMode), &xwc);
2339 if (cre->value_mask & CWBorderWidth) {
2340 int bwdelta = cre->border_width - Tmp_win->old_bw; /* posit growth */
2345 bw = cre->border_width;
2351 Tmp_win->old_bw = cre->border_width; /* for restoring */
2354 if (cre->value_mask & CWX) { /* override even if border change */
2355 x = cre->x - bw;
2357 if (cre->value_mask & CWY) {
2358 y = cre->y - ((gravy < 0) ? 0 : Tmp_win->title_height) - bw;
2361 if (cre->value_mask & CWWidth) {
2362 width = cre->width;
2364 if (cre->value_mask & CWHeight) {
2365 height = cre->height + Tmp_win->title_height;