中国开发网: 论坛: 程序员情感CBD: 贴子 282723
holly
[显摆贴]花了半天 fix 了紫光跟 firefox/seamonkey 的兼容问题
大部分时间是在编译. faint.

fix 很简单. 如下

bash-2.05b$ diff widget/src/windows/nsWindow.cpp widget/src/windows/nsWindow.cpp.orig
3586,3591c3586
< // a WM_KEYUP message just followed WM_KEYDOWN with an asciiKey is
< // certainly meanless for application. I filtered it to make unispim
< // chinese input method works with seamonkey well since unispin
< // generates such a message pair when input digit character under composition
< // mode, leading to incorrect duplicate NS_JEY_PRESS events.
< if (asciiKey && !(gotMsg && msg.message == WM_KEYUP))
---
> if (asciiKey)

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录