File emacs-22.0.99-xim.patch of Package emacs

--- src/xfns.c
+++ src/xfns.c	2007-05-15 18:37:13.282161551 +0200
@@ -1959,8 +1959,8 @@ static XIMStyle best_xim_style P_ ((XIMS
 
 static XIMStyle supported_xim_styles[] =
 {
-  XIMPreeditPosition | XIMStatusArea,
   XIMPreeditPosition | XIMStatusNothing,
+  XIMPreeditPosition | XIMStatusArea,
   XIMPreeditPosition | XIMStatusNone,
   XIMPreeditNothing | XIMStatusArea,
   XIMPreeditNothing | XIMStatusNothing,