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.34 by root, Fri Jan 6 21:06:09 2006 UTC vs.
Revision 1.35 by root, Sat Jan 7 04:19:43 2006 UTC

705MODULE = urxvt PACKAGE = urxvt::term 705MODULE = urxvt PACKAGE = urxvt::term
706 706
707void 707void
708rxvt_term::destroy () 708rxvt_term::destroy ()
709 709
710void
711rxvt_term::grab (int eventtime)
712 CODE:
713{
714return;
715 XGrabPointer (THIS->display->display, THIS->vt, 0,
716 ButtonPressMask | ButtonReleaseMask | EnterWindowMask | LeaveWindowMask | PointerMotionMask,
717 GrabModeAsync, GrabModeAsync, None, None, eventtime);
718 XGrabKeyboard (THIS->display->display, THIS->vt, 0, GrabModeAsync, GrabModeAsync, eventtime);
719}
720
710int 721int
711rxvt_term::strwidth (SV *str) 722rxvt_term::strwidth (SV *str)
712 CODE: 723 CODE:
713{ 724{
714 wchar_t *wstr = sv2wcs (str); 725 wchar_t *wstr = sv2wcs (str);
1146 char *old_cmdbuf_endp = THIS->cmdbuf_endp; 1157 char *old_cmdbuf_endp = THIS->cmdbuf_endp;
1147 1158
1148 THIS->cmdbuf_ptr = str; 1159 THIS->cmdbuf_ptr = str;
1149 THIS->cmdbuf_endp = str + len; 1160 THIS->cmdbuf_endp = str + len;
1150 1161
1162 rxvt_push_locale (THIS->locale);
1151 THIS->cmd_parse (); 1163 THIS->cmd_parse ();
1164 rxvt_pop_locale ();
1152 1165
1153 THIS->cmdbuf_ptr = old_cmdbuf_ptr; 1166 THIS->cmdbuf_ptr = old_cmdbuf_ptr;
1154 THIS->cmdbuf_endp = old_cmdbuf_endp; 1167 THIS->cmdbuf_endp = old_cmdbuf_endp;
1155} 1168}
1156 1169

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines