2009/4/29 Munehiro Matsuda <h...@h4.dion.ne.jp>:
> そしたら、試しに、以下のような検証をしていただくことは可能でしょうか。
>
> 1) .twmrcに以下のような設定を追加する。
>    "F4" = : all : f.lower
>
> 2) xevを起動し、F3や F4キーを押した場合のイベント情報を取得する。

結果は次のとおりでした。
(F3, F4押下時の結果と、ご参考までに何も割り当てられていない
F1押下時のeventを列挙いたしました。)

--------------------------------------------------------------------------
[F3] f.raise
--------------------------------------------------------------------------
>FocusOut event, serial 27, synthetic NO, window 0x2600001,
>    mode NotifyGrab, detail NotifyPointer
>
>FocusIn event, serial 27, synthetic NO, window 0x2600001,
>    mode NotifyGrab, detail NotifyNonlinear
>
>KeymapNotify event, serial 27, synthetic NO, window 0x0,
>    keys:  4294967210 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
>           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
>
>LeaveNotify event, serial 27, synthetic NO, window 0x2600001,
>    root 0xaa, subw 0x0, time 115629958, (3,2), root:(413,412),
>    mode NotifyGrab, detail NotifyAncestor, same_screen YES,
>    focus YES, state 0
>
>EnterNotify event, serial 27, synthetic NO, window 0x2600001,
>    root 0xaa, subw 0x0, time 115629960, (3,2), root:(413,412),
>    mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
>    focus YES, state 0
>
>KeymapNotify event, serial 27, synthetic NO, window 0x0,
>    keys:  1   0   0   0   0   0   0   0   32  0   0   0   0   0   0   0
>           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
>
>FocusOut event, serial 27, synthetic NO, window 0x2600001,
>    mode NotifyUngrab, detail NotifyNonlinear
>
>FocusIn event, serial 27, synthetic NO, window 0x2600001,
>    mode NotifyUngrab, detail NotifyPointer
>
>KeymapNotify event, serial 27, synthetic NO, window 0x0,
>    keys:  1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
>           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

--------------------------------------------------------------------------
[F4] f.lower
--------------------------------------------------------------------------
>FocusOut event, serial 27, synthetic NO, window 0x2600001,
>    mode NotifyGrab, detail NotifyPointer
>
>FocusIn event, serial 27, synthetic NO, window 0x2600001,
>    mode NotifyGrab, detail NotifyNonlinear
>
>KeymapNotify event, serial 27, synthetic NO, window 0x0,
>    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
>           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
>
>LeaveNotify event, serial 27, synthetic NO, window 0x2600001,
>    root 0xaa, subw 0x0, time 115634555, (3,2), root:(413,412),
>    mode NotifyGrab, detail NotifyAncestor, same_screen YES,
>    focus YES, state 0
>
>VisibilityNotify event, serial 27, synthetic NO, window 0x2600001,
>    state VisibilityPartiallyObscured
>
>EnterNotify event, serial 27, synthetic NO, window 0x2600001,
>    root 0xaa, subw 0x0, time 115634561, (3,2), root:(413,412),
>    mode NotifyUngrab, detail NotifyAncestor, same_screen YES,
>    focus YES, state 0
>
>KeymapNotify event, serial 27, synthetic NO, window 0x0,
>    keys:  1   0   0   0   0   0   0   0   64  0   0   0   0   0   0   0
>           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
>
>FocusOut event, serial 27, synthetic NO, window 0x2600001,
>    mode NotifyUngrab, detail NotifyNonlinear
>
>FocusIn event, serial 27, synthetic NO, window 0x2600001,
>    mode NotifyUngrab, detail NotifyPointer
>
>KeymapNotify event, serial 27, synthetic NO, window 0x0,
>    keys:  1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
>           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

--------------------------------------------------------------------------
[F1]
--------------------------------------------------------------------------
>KeyPress event, serial 27, synthetic NO, window 0x2600001,
>    root 0xaa, subw 0x0, time 115640229, (3,2), root:(413,412),
>    state 0x0, keycode 67 (keysym 0xffbe, F1), same_screen YES,
>    XLookupString gives 0 bytes:
>    XmbLookupString gives 0 bytes:
>    XFilterEvent returns: False
>
>KeyRelease event, serial 27, synthetic NO, window 0x2600001,
>    root 0xaa, subw 0x0, time 115640415, (3,2), root:(413,412),
>    state 0x0, keycode 67 (keysym 0xffbe, F1), same_screen YES,
>    XLookupString gives 0 bytes:
>    XFilterEvent returns: False

メールによる返信