Lines Matching refs:cre
3685 XConfigureRequestEvent *cre = &Event.xconfigurerequest;
3690 if(cre->value_mask & CWX) {
3691 fprintf(stderr, " x = %d\n", cre->x);
3693 if(cre->value_mask & CWY) {
3694 fprintf(stderr, " y = %d\n", cre->y);
3696 if(cre->value_mask & CWWidth) {
3697 fprintf(stderr, " width = %d\n", cre->width);
3699 if(cre->value_mask & CWHeight) {
3700 fprintf(stderr, " height = %d\n", cre->height);
3702 if(cre->value_mask & CWSibling) {
3703 fprintf(stderr, " above = 0x%x\n", (unsigned)cre->above);
3705 if(cre->value_mask & CWStackMode) {
3706 fprintf(stderr, " stack = %d\n", cre->detail);
3714 Event.xany.window = cre->window; /* mash parent field */
3715 Tmp_win = GetTwmWindow(cre->window);
3723 if(!Tmp_win || (Tmp_win->icon && (Tmp_win->icon->w == cre->window))) {
3724 xwcm = cre->value_mask &
3726 xwc.x = cre->x;
3727 xwc.y = cre->y;
3728 xwc.width = cre->width;
3729 xwc.height = cre->height;
3730 xwc.border_width = cre->border_width;
3736 if((cre->value_mask & CWStackMode) && Tmp_win->stackmode) {
3739 if(cre->value_mask & CWSibling) {
3740 otherwin = GetTwmWindow(cre->above);
3742 OtpForcePlacement(Tmp_win, cre->detail, otherwin);
3749 switch(cre->detail) {
3788 if(cre->value_mask & CWBorderWidth) {
3789 int bwdelta = cre->border_width - Tmp_win->old_bw; /* posit growth */
3793 bw = cre->border_width;
3800 Tmp_win->old_bw = cre->border_width; /* for restoring */
3803 if((cre->value_mask & CWX)) { /* override even if border change */
3804 x = cre->x - bw;
3807 if((cre->value_mask & CWY)) {
3808 y = cre->y - ((gravy < 0) ? 0 : Tmp_win->title_height) - bw;
3812 if(cre->value_mask & CWWidth) {
3813 width = cre->width + 2 * Tmp_win->frame_bw3D;
3815 if(cre->value_mask & CWHeight) {
3816 height = cre->height + Tmp_win->title_height + 2 * Tmp_win->frame_bw3D;