Subject: not seeing F11 key
To: None <tech-x11@NetBSD.org>
From: Ben Collver <collver@peak.org>
List: tech-x11
Date: 04/13/2005 06:54:04
Hello,

As an example, I started xterm in matchbox on both i386 and hpcmips
NetBSD 2.0, and pressed Control-V in ksh.  Then, when I press F11, on
i386 the xterm goes full screen, and on hpcmips I see ^[[23~ in the
xterm.

When running xev on hpcmips, it appears that X sees the F11 keypress:

KeyPress event, serial 26, synthetic NO, window 0xa00001,
    root 0x24, subw 0xa00002, time 971814476, (32,35), root:(36,55),
    state 0x0, keycode 95 (keysym 0xffc8, F11), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 26, synthetic NO, window 0xa00001,
    root 0x24, subw 0xa00002, time 971814578, (32,35), root:(36,55),
    state 0x0, keycode 95 (keysym 0xffc8, F11), same_screen YES,
    XLookupString gives 0 bytes: 


I built matchbox with CONFIGURE_ARGS+=	--enable-debug
When I run it, I see the following in the output:

WM-DEBUG: keys_add_entry() called, keystr: f11 action: 9 sdata fullscreen
WM-DEBUG: keys_add_entry() keydefinition is f11, want_shift is 0
WM-DEBUG: added new key entry mask: 1
...
WM-DEBUG: keys, grabbing keycode: 95 , mask: 1


It appears on hpcmips, xterm gets the F11 event and not matchbox.  How
can I troubleshoot this further?  I want to be able to switch windows to
full-screen.

Thank you,

Ben