From 4c75de4149dfa5e831b3433486c70cf648c82c04 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 24 Jan 2006 16:57:42 +0000 Subject: [PATCH] *** empty log message *** --- Changes | 7 ++++--- src/main.C | 3 +++ src/rxvt.h | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Changes b/Changes index 14f6b86f..43841fd2 100644 --- a/Changes +++ b/Changes @@ -15,10 +15,11 @@ WISH: OnTheSpot editing, or maybe switch to miiiiiiif. or maybe use perl and an WISH: just for fun, do shade and tint with XRender. DUMB: support tex fonts -TODO: ctrl - mouse button2 in vim makes X freeze - - don't let iso14755 get into the way of perl (could lead to global - grabs never being cleared). +TODO: ctrl - mouse button2 in vim makes X freeze (unreproducable with cvs) + - don't let iso14755 or mouse reporting get into the way of perl + (could lead to global grabs never being cleared). - removed (unused) arabic presentation form composing sequences. + - correctly ask XIM for events it needs to be enabled on the window. 7.2 Sun Jan 22 21:58:16 CET 2006 - bugfix: urxvt (not urxvtd) did not correctly handle multiple diff --git a/src/main.C b/src/main.C index ae90f846..8a018f8f 100644 --- a/src/main.C +++ b/src/main.C @@ -1431,6 +1431,9 @@ foundpet: return false; } + if (!XGetICValues (Input_Context, XNFilterEvents, &vt_emask_xim, NULL)) + vt_select_input (); + if (input_style & XIMPreeditArea) IMSetStatusPosition (); diff --git a/src/rxvt.h b/src/rxvt.h index 75068034..65d676be 100644 --- a/src/rxvt.h +++ b/src/rxvt.h @@ -1159,11 +1159,11 @@ struct rxvt_term : zero_initialized, rxvt_vars { // modifies first argument(!) void paste (char *data, unsigned int len) NOTHROW; - long vt_emask, vt_emask_perl; + long vt_emask, vt_emask_perl, vt_emask_xim; void vt_select_input () const NOTHROW { - XSelectInput (display->display, vt, vt_emask | vt_emask_perl); + XSelectInput (display->display, vt, vt_emask | vt_emask_perl | vt_emask_xim); } #if TRANSPARENT -- 2.34.1