ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.C
(Generate patch)

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.491 by sf-exg, Fri Aug 19 17:42:09 2011 UTC vs.
Revision 1.493 by sf-exg, Sun Aug 21 20:17:40 2011 UTC

1473 } 1473 }
1474 else 1474 else
1475 { 1475 {
1476#ifdef HAVE_BG_PIXMAP 1476#ifdef HAVE_BG_PIXMAP
1477 if (moved) 1477 if (moved)
1478 {
1479 if (mapped)
1480 update_background (); 1478 update_background ();
1481 else
1482 bg_invalidate ();
1483 }
1484#endif 1479#endif
1485 } 1480 }
1486 1481
1487 HOOK_INVOKE ((this, HOOK_CONFIGURE_NOTIFY, DT_XEVENT, &ev, DT_END)); 1482 HOOK_INVOKE ((this, HOOK_CONFIGURE_NOTIFY, DT_XEVENT, &ev, DT_END));
1488 } 1483 }
3453 min (h_align, 32767), min (v_align, 32767)); 3448 min (h_align, 32767), min (v_align, 32767));
3454 process_xterm_seq (XTerm_title, str, CHAR_ST); 3449 process_xterm_seq (XTerm_title, str, CHAR_ST);
3455 } 3450 }
3456 else 3451 else
3457 { 3452 {
3458 int changed = 0; 3453 bool changed = false;
3459 3454
3460 if (*str != ';') 3455 if (*str != ';')
3461 { 3456 {
3462 if (bg_set_file (str)) /* change pixmap */ 3457 if (bg_set_file (str)) /* change pixmap */
3463 {
3464 changed++; 3458 changed = true;
3465 }
3466 } 3459 }
3467 else 3460 else
3468 { 3461 {
3469 str++; 3462 str++;
3470 if (bg_set_geometry (str, true)) 3463 if (bg_set_geometry (str, true))
3471 changed++; 3464 changed = true;
3472 } 3465 }
3473 3466
3474 if (changed) 3467 if (changed)
3475 { 3468 {
3476 if (bg_window_position_sensitive ()) 3469 if (bg_window_position_sensitive ())

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines