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

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.84 by root, Fri Jan 20 18:50:49 2006 UTC vs.
Revision 1.86 by root, Fri Jan 20 22:49:34 2006 UTC

596 setuv (root, xe->xmotion.root); 596 setuv (root, xe->xmotion.root);
597 setuv (subwindow, xe->xmotion.subwindow); 597 setuv (subwindow, xe->xmotion.subwindow);
598 setuv (time, xe->xmotion.time); 598 setuv (time, xe->xmotion.time);
599 setiv (x, xe->xmotion.x); 599 setiv (x, xe->xmotion.x);
600 setiv (y, xe->xmotion.y); 600 setiv (y, xe->xmotion.y);
601 setiv (row, xe->xmotion.y / term->fheight); 601 setiv (row, xe->xmotion.y / term->fheight + term->view_start);
602 setiv (col, xe->xmotion.x / term->fwidth); 602 setiv (col, xe->xmotion.x / term->fwidth);
603 setiv (x_root, xe->xmotion.x_root); 603 setiv (x_root, xe->xmotion.x_root);
604 setiv (y_root, xe->xmotion.y_root); 604 setiv (y_root, xe->xmotion.y_root);
605 setuv (state, xe->xmotion.state); 605 setuv (state, xe->xmotion.state);
606 606
1117rxvt_term::ModLevel3Mask () 1117rxvt_term::ModLevel3Mask ()
1118 ALIAS: 1118 ALIAS:
1119 ModLevel3Mask = 0 1119 ModLevel3Mask = 0
1120 ModMetaMask = 1 1120 ModMetaMask = 1
1121 ModNumLockMask = 2 1121 ModNumLockMask = 2
1122 current_screen = 3
1122 CODE: 1123 CODE:
1123 switch (ix) 1124 switch (ix)
1124 { 1125 {
1125 case 0: RETVAL = THIS->ModLevel3Mask; break; 1126 case 0: RETVAL = THIS->ModLevel3Mask; break;
1126 case 1: RETVAL = THIS->ModMetaMask; break; 1127 case 1: RETVAL = THIS->ModMetaMask; break;
1127 case 2: RETVAL = THIS->ModNumLockMask; break; 1128 case 2: RETVAL = THIS->ModNumLockMask; break;
1129 case 3: RETVAL = THIS->current_screen; break;
1128 } 1130 }
1129 OUTPUT: 1131 OUTPUT:
1130 RETVAL 1132 RETVAL
1131 1133
1132char * 1134char *
1589 1591
1590void 1592void
1591rxvt_term::scr_bell () 1593rxvt_term::scr_bell ()
1592 1594
1593void 1595void
1596rxvt_term::scr_change_screen (int screen)
1597
1598void
1594rxvt_term::scr_add_lines (SV *string) 1599rxvt_term::scr_add_lines (SV *string)
1595 CODE: 1600 CODE:
1596{ 1601{
1597 wchar_t *wstr = sv2wcs (string); 1602 wchar_t *wstr = sv2wcs (string);
1598 THIS->scr_add_lines (wstr, wcslen (wstr)); 1603 THIS->scr_add_lines (wstr, wcslen (wstr));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines