--- rxvt-unicode/src/rxvtperl.xs 2006/01/06 20:50:58 1.33 +++ rxvt-unicode/src/rxvtperl.xs 2006/01/07 04:19:43 1.35 @@ -487,6 +487,7 @@ XPUSHs (sv_2mortal (wcs2sv (wstr, wlen))); } + break; case DT_XEVENT: { @@ -706,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: @@ -1147,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;