--- rxvt-unicode/src/rxvtperl.xs 2006/01/06 21:06:09 1.34 +++ rxvt-unicode/src/rxvtperl.xs 2006/01/07 04:19:43 1.35 @@ -707,6 +707,17 @@ void rxvt_term::destroy () +void +rxvt_term::grab (int eventtime) + CODE: +{ +return; + XGrabPointer (THIS->display->display, THIS->vt, 0, + ButtonPressMask | ButtonReleaseMask | EnterWindowMask | LeaveWindowMask | PointerMotionMask, + GrabModeAsync, GrabModeAsync, None, None, eventtime); + XGrabKeyboard (THIS->display->display, THIS->vt, 0, GrabModeAsync, GrabModeAsync, eventtime); +} + int rxvt_term::strwidth (SV *str) CODE: @@ -1148,7 +1159,9 @@ THIS->cmdbuf_ptr = str; THIS->cmdbuf_endp = str + len; + rxvt_push_locale (THIS->locale); THIS->cmd_parse (); + rxvt_pop_locale (); THIS->cmdbuf_ptr = old_cmdbuf_ptr; THIS->cmdbuf_endp = old_cmdbuf_endp;