… | |
… | |
1149 | |
1149 | |
1150 | XMoveResizeWindow (dpy, vt, |
1150 | XMoveResizeWindow (dpy, vt, |
1151 | window_vt_x, window_vt_y, |
1151 | window_vt_x, window_vt_y, |
1152 | width, height); |
1152 | width, height); |
1153 | |
1153 | |
|
|
1154 | #ifdef XPM_BACKGROUND |
|
|
1155 | /* TODO: replace with update_pixmap() that should unify transparency and bg image handling ! */ |
|
|
1156 | if (bgPixmap.window_size_sensitive ()) |
|
|
1157 | bgPixmap.render (); |
|
|
1158 | #endif |
|
|
1159 | |
1154 | scr_clear (); |
1160 | scr_clear (); |
1155 | #ifdef XPM_BACKGROUND |
|
|
1156 | /* TODO: should that really be here ? */ |
|
|
1157 | bgPixmap.render (); |
|
|
1158 | #endif |
|
|
1159 | } |
1161 | } |
1160 | |
1162 | |
1161 | if (fix_screen || old_height == 0) |
1163 | if (fix_screen || old_height == 0) |
1162 | scr_reset (); |
1164 | scr_reset (); |
1163 | |
1165 | |
1164 | // TODO, with nvidia-8178, resizes kill the alpha channel, report if not fixed in newer version |
1166 | // TODO, with nvidia-8178, resizes kill the alpha channel, report if not fixed in newer version |
1165 | //scr_touch (false); |
1167 | //scr_touch (false); |
1166 | |
1168 | |
1167 | #ifdef HAVE_BG_PIXMAP |
1169 | #ifdef HAVE_BG_PIXMAP |
|
|
1170 | // TODO: this don't seem to have any effect - do we still need it ? If so - in which case exactly ? |
1168 | if (bgPixmap.pixmap) |
1171 | // if (bgPixmap.pixmap) |
1169 | scr_touch (false); |
1172 | // scr_touch (false); |
1170 | #endif |
1173 | #endif |
1171 | |
1174 | |
1172 | #ifdef USE_XIM |
1175 | #ifdef USE_XIM |
1173 | IMSetPosition (); |
1176 | IMSetPosition (); |
1174 | #endif |
1177 | #endif |