… | |
… | |
179 | tintNeeded = (1UL<<9), |
179 | tintNeeded = (1UL<<9), |
180 | tintWholesome = (1UL<<10), |
180 | tintWholesome = (1UL<<10), |
181 | tintServerSide = (1UL<<11), |
181 | tintServerSide = (1UL<<11), |
182 | tintFlags = (tintSet|tintServerSide|tintNeeded|tintWholesome), |
182 | tintFlags = (tintSet|tintServerSide|tintNeeded|tintWholesome), |
183 | blurNeeded = (1UL<<12), |
183 | blurNeeded = (1UL<<12), |
|
|
184 | blurServerSide = (1UL<<13), /* this don't work yet */ |
184 | |
185 | |
185 | isTransparent = (1UL<<16), |
186 | isTransparent = (1UL<<16), |
186 | isInvalid = (1UL<<17) |
187 | isInvalid = (1UL<<17), |
|
|
188 | isVtOrigin = (1UL<<18) /* if set pixmap has origin at corner of |
|
|
189 | vt window instead of parent[0]! */ |
187 | }; |
190 | }; |
188 | |
191 | |
189 | unsigned long flags; |
192 | unsigned long flags; |
190 | |
193 | |
191 | enum { |
194 | enum { |
… | |
… | |
242 | Pixmap pixmap; |
245 | Pixmap pixmap; |
243 | unsigned int pmap_width, pmap_height; |
246 | unsigned int pmap_width, pmap_height; |
244 | unsigned int pmap_depth; |
247 | unsigned int pmap_depth; |
245 | |
248 | |
246 | bool window_size_sensitive (); |
249 | bool window_size_sensitive (); |
|
|
250 | bool window_position_sensitive () { |
|
|
251 | return (flags & isTransparent); |
|
|
252 | }; |
|
|
253 | |
|
|
254 | bool is_parentOrigin () { |
|
|
255 | return !(flags & isVtOrigin); |
|
|
256 | }; |
|
|
257 | |
247 | bool need_client_side_rendering (); |
258 | bool need_client_side_rendering (); |
248 | void apply (); |
259 | void apply (); |
249 | bool render (); |
260 | bool render (); |
250 | void invalidate () { |
261 | void invalidate () { |
251 | if (!(flags & isInvalid)) |
262 | if (!(flags & isInvalid)) |
… | |
… | |
959 | rxvt_perl_term perl; |
970 | rxvt_perl_term perl; |
960 | #endif |
971 | #endif |
961 | struct mbstate mbstate; // current input multibyte state |
972 | struct mbstate mbstate; // current input multibyte state |
962 | |
973 | |
963 | unsigned char want_refresh:1, |
974 | unsigned char want_refresh:1, |
964 | #ifdef ENABLE_TRANSPARENCY |
|
|
965 | want_full_refresh:1, /* awaiting full screen refresh */ |
|
|
966 | #endif |
|
|
967 | current_screen:1, /* primary or secondary */ |
975 | current_screen:1, /* primary or secondary */ |
968 | num_scr_allow:1, |
976 | num_scr_allow:1, |
969 | bypass_keystate:1, |
977 | bypass_keystate:1, |
970 | #ifdef CURSOR_BLINK |
978 | #ifdef CURSOR_BLINK |
971 | hidden_cursor:1, |
979 | hidden_cursor:1, |