… | |
… | |
1734 | |
1734 | |
1735 | void |
1735 | void |
1736 | XMoveResizeWindow (rxvt_term *term, Window window, int x, int y, unsigned int width, unsigned int height) |
1736 | XMoveResizeWindow (rxvt_term *term, Window window, int x, int y, unsigned int width, unsigned int height) |
1737 | C_ARGS: term->display->display, (Window)window, x, y, width, height |
1737 | C_ARGS: term->display->display, (Window)window, x, y, width, height |
1738 | |
1738 | |
|
|
1739 | void |
|
|
1740 | rxvt_term::XTranslateCoordinates (Window src, Window dst, int x, int y) |
|
|
1741 | PPCODE: |
|
|
1742 | { |
|
|
1743 | int dx, dy; |
|
|
1744 | Window child; |
|
|
1745 | |
|
|
1746 | if (XTranslateCoordinates (THIS->display->display, src, dst, x, y, &dx, &dy, &child)) |
|
|
1747 | { |
|
|
1748 | EXTEND (SP, 3); |
|
|
1749 | PUSHs (newSViv (dx)); |
|
|
1750 | PUSHs (newSViv (dy)); |
|
|
1751 | PUSHs (newSVuv (child)); |
|
|
1752 | } |
|
|
1753 | } |
|
|
1754 | |
1739 | ############################################################################# |
1755 | ############################################################################# |
1740 | # urxvt::overlay |
1756 | # urxvt::overlay |
1741 | ############################################################################# |
1757 | ############################################################################# |
1742 | |
1758 | |
1743 | MODULE = urxvt PACKAGE = urxvt::overlay |
1759 | MODULE = urxvt PACKAGE = urxvt::overlay |