… | |
… | |
975 | rxvt_term::flush () |
975 | rxvt_term::flush () |
976 | { |
976 | { |
977 | flush_ev.stop (); |
977 | flush_ev.stop (); |
978 | |
978 | |
979 | #ifdef HAVE_BG_PIXMAP |
979 | #ifdef HAVE_BG_PIXMAP |
980 | if (bgPixmap.check_clearChanged ()) |
980 | if (bgPixmap.flags & bgPixmap_t::hasChanged) |
981 | { |
981 | { |
|
|
982 | bgPixmap.flags &= ~bgPixmap_t::hasChanged; |
982 | // scr_clear (true); This needs to be researched further! |
983 | // scr_clear (true); This needs to be researched further! |
983 | scr_touch (false); |
984 | scr_touch (false); |
984 | } |
985 | } |
985 | #endif |
986 | #endif |
986 | |
987 | |
… | |
… | |
3447 | { |
3448 | { |
3448 | int changed = 0; |
3449 | int changed = 0; |
3449 | |
3450 | |
3450 | if (*str != ';') |
3451 | if (*str != ';') |
3451 | { |
3452 | { |
3452 | /* reset to default scaling :*/ |
|
|
3453 | bgPixmap.unset_geometry (); |
|
|
3454 | if (bgPixmap.set_file (str)) /* change pixmap */ |
3453 | if (bgPixmap.set_file (str)) /* change pixmap */ |
3455 | changed++; |
3454 | changed++; |
3456 | str = strchr (str, ';'); |
3455 | str = strchr (str, ';'); |
3457 | if (str == NULL) |
3456 | if (str == NULL) |
3458 | bgPixmap.set_defaultGeometry (); |
3457 | bgPixmap.set_defaultGeometry (); |
|
|
3458 | else |
|
|
3459 | bgPixmap.set_geometry (str+1); |
3459 | } |
3460 | } |
3460 | |
3461 | else |
3461 | while (str) |
|
|
3462 | { |
3462 | { |
3463 | str++; |
3463 | str++; |
3464 | if (bgPixmap.set_geometry (str)) |
3464 | if (bgPixmap.set_geometry (str, true)) |
3465 | changed++; |
3465 | changed++; |
3466 | str = strchr (str, ';'); |
|
|
3467 | } |
3466 | } |
3468 | |
3467 | |
3469 | if (changed) |
3468 | if (changed) |
3470 | update_background (); |
3469 | update_background (); |
3471 | } |
3470 | } |