extermg ftw
authorroot <root>
Sat, 26 Jan 2008 13:31:09 +0000 (13:31 +0000)
committerroot <root>
Sat, 26 Jan 2008 13:31:09 +0000 (13:31 +0000)
src/rxvttoolkit.C

index 535d72b6fa9c850458b49f304a3714741e83cfda..ab46187c262e5c21ae89addf397d9393c1a847fc 100644 (file)
@@ -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
     }
 }