From 3c438356102a5a94578afa429ae3de994e4cdfc5 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 26 Jan 2008 13:31:09 +0000 Subject: [PATCH] extermg ftw --- src/rxvttoolkit.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C index 535d72b6..ab46187c 100644 --- a/src/rxvttoolkit.C +++ b/src/rxvttoolkit.C @@ -552,12 +552,12 @@ void rxvt_display::x_cb (ev::io &w, int revents) #ifdef USE_XIM if (!XFilterEvent (&xev, None)) -#endif { if (xev.type == PropertyNotify && xev.xany.window == root && xev.xproperty.atom == xa[XA_XIM_SERVERS]) im_change_check (); +#endif if (xev.type == MappingNotify) XRefreshKeyboardMapping (&xev.xmapping); @@ -569,7 +569,9 @@ void rxvt_display::x_cb (ev::io &w, int revents) else if (xw[i]->window == xev.xany.window) xw[i]->call (xev); } +#ifdef USE_XIM } +#endif } } -- 2.34.1