[分享]难道传说中的wine输入法bug修正了?

Wine、Cedega、CrossOver 等配置
回复
db_lobster
帖子: 168
注册时间: 2006-10-11 19:30
联系:

[分享]难道传说中的wine输入法bug修正了?

#1

帖子 db_lobster » 2007-04-14 15:00

貌似 0.9.35 修正了。赞。

Hack to disable XInitThreads when an XIM is used.
http://source.winehq.org/git/wine.git/? ... e24e345933

代码: 全选

--- a/dlls/winex11.drv/x11drv_main.c
+++ b/dlls/winex11.drv/x11drv_main.c
@@ -378,6 +378,7 @@ static BOOL process_attach(void)
 {
     Display *display;
     XVisualInfo *desktop_vi = NULL;
+    const char *env;
     setup_options();
@@ -385,7 +386,8 @@ static BOOL process_attach(void)
     /* Open display */
-    if (!XInitThreads()) ERR( "XInitThreads failed, trouble ahead\n" );
+    if (!(env = getenv("XMODIFIERS")) || !*env)  /* try to avoid the Xlib XIM locking bug */
+        if (!XInitThreads()) ERR( "XInitThreads failed, trouble ahead\n" );
     if (!(display = XOpenDisplay( NULL ))) return FALSE;
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2007-04-14 15:33

wine是一蟹不如一蟹。用0.9.17吧。
从来没见有输入法问题。3p?
● 鸣学
fswmt
帖子: 1
注册时间: 2007-01-22 19:03

#3

帖子 fswmt » 2007-04-14 22:07

我试了一下是… 真的修正了^^
newyilang
帖子: 36
注册时间: 2006-05-05 20:54

#4

帖子 newyilang » 2007-04-15 8:56

现在可以在不打任何patch的情况下,使用scim输入法了?
bigslacker
帖子: 61
注册时间: 2007-01-11 9:57

#5

帖子 bigslacker » 2007-04-15 16:48

我刚刚用了,好像还是不行,有冲突
strup
帖子: 652
注册时间: 2006-09-16 14:19

#6

帖子 strup » 2007-05-06 21:31

不行阿
andrew_t
帖子: 614
注册时间: 2006-12-14 3:00

#7

帖子 andrew_t » 2007-05-07 9:46

没把,我装的0.9.36,在IEs4linux里面scim还是不能输入中文
andrew_t
帖子: 614
注册时间: 2006-12-14 3:00

#8

帖子 andrew_t » 2007-05-07 11:03

可能真的可以了。。。修改下scim设置OK了

去掉scim设置的 前端->全局设置->将预编辑字符串嵌入到客户端中 前的勾
去掉scim设置的 面板->gtk->嵌入式候选词标
回复