|
发表于 2003-1-14 16:27:44
|
显示全部楼层
发现一个Bug
KDE3下缩放对话框窗口时会使X Server挂起。
重现Bug的条件:
1. fcitx在KDE之前起动(如在/etc/X11/xdm/Xsession中起动)
2. KDE窗口行为设置中,取消(disable)"改变窗口大小时显示内容"选项
3. 缩放对话框窗口(如Netscape/Mozilla下的File Bookmark对话框)
修正:
修改xim.c中 static XIMStyle Styles[]的定义, 取消对其中几行的注释。修改后的定义为:
static XIMStyle Styles[] = {
XIMPreeditCallbacks|XIMStatusCallbacks, //OnTheSpot
XIMPreeditCallbacks|XIMStatusArea, //OnTheSpot
XIMPreeditCallbacks|XIMStatusNothing, //OnTheSpot
XIMPreeditPosition|XIMStatusArea, //OverTheSpot
XIMPreeditPosition|XIMStatusNothing, //OverTheSpot
XIMPreeditPosition|XIMStatusNone, //OverTheSpot
XIMPreeditArea|XIMStatusArea, //OffTheSpot
XIMPreeditArea|XIMStatusNothing, //OffTheSpot
XIMPreeditArea|XIMStatusNone, //OffTheSpot
XIMPreeditNothing|XIMStatusNothing, //Root
XIMPreeditNothing|XIMStatusNone, //Root
0
}; |
|