… | |
… | |
1626 | void |
1626 | void |
1627 | rxvt_term::get_window_origin (int &x, int &y) |
1627 | rxvt_term::get_window_origin (int &x, int &y) |
1628 | { |
1628 | { |
1629 | Window cr; |
1629 | Window cr; |
1630 | XTranslateCoordinates (dpy, parent[0], display->root, 0, 0, &x, &y, &cr); |
1630 | XTranslateCoordinates (dpy, parent[0], display->root, 0, 0, &x, &y, &cr); |
1631 | /* fprintf (stderr, "origin is %+d%+d\n", x, y);*/ |
|
|
1632 | } |
1631 | } |
1633 | |
1632 | |
1634 | Pixmap |
1633 | Pixmap |
1635 | rxvt_term::get_pixmap_property (int prop_id) |
1634 | rxvt_term::get_pixmap_property (int prop_id) |
1636 | { |
1635 | { |
… | |
… | |
1650 | |
1649 | |
1651 | return None; |
1650 | return None; |
1652 | } |
1651 | } |
1653 | |
1652 | |
1654 | #ifdef HAVE_BG_PIXMAP |
1653 | #ifdef HAVE_BG_PIXMAP |
1655 | # if TRACE_PIXMAPS |
|
|
1656 | # undef update_background |
|
|
1657 | void |
|
|
1658 | rxvt_term::trace_update_background (const char *file, int line) |
|
|
1659 | { |
|
|
1660 | fprintf (stderr, "%s:%d:update_background()\n", file, line); |
|
|
1661 | update_background (); |
|
|
1662 | } |
|
|
1663 | # endif |
|
|
1664 | |
1654 | |
1665 | void |
1655 | void |
1666 | rxvt_term::update_background () |
1656 | rxvt_term::update_background () |
1667 | { |
1657 | { |
1668 | if (update_background_ev.is_active ()) |
1658 | if (update_background_ev.is_active ()) |