|
当同时使用emacs时,需要使用ctrl-space或者ctrl-shift-space作为set-mark的快捷键,
而fcitx将其全部占用为输入法切换。我修改了xim.c,使按ctrl-shift-space时不进行输入法
切换。这样就可以正常使用emacs的set-mark功能了。
在debian sid上测试通过。
*** fcitx-1.8.5/xim.c Thu May 15 14:35:29 2003
--- xim.c Sat Dec 20 15:37:13 2003
***************
*** 75,87 ****
/* Trigger Keys List */
static XIMTriggerKey Trigger_Keys_Ctrl_Shift[] = {
! {XK_space, ControlMask, ControlMask},
{XK_Shift_L, ControlMask, ControlMask},
{0L, 0L, 0L}
};
static XIMTriggerKey Trigger_Keys[] = {
! {XK_space, ControlMask, ControlMask},
{0L, 0L, 0L}
};
--- 75,87 ----
/* Trigger Keys List */
static XIMTriggerKey Trigger_Keys_Ctrl_Shift[] = {
! {XK_space, ControlMask, ControlMask | ShiftMask},
{XK_Shift_L, ControlMask, ControlMask},
{0L, 0L, 0L}
};
static XIMTriggerKey Trigger_Keys[] = {
! {XK_space, ControlMask, ControlMask | ShiftMask},
{0L, 0L, 0L}
}; |
|