Takuma wrote:
When "-kb" option is set, winconfig.c:417 should flag
g_winInfo.xkb.disable field. However, it is enclosed in
the condition (kbd != NULL) at line 387 so it won't be
executed if no primary keyboard is specified.
Therefore Windows autorepeat is still disabled no
matter whether XKB is disabled or not.
Just tested:
- with -kb, but without XF86Config: no autorepeat at all...
/tmp/XWin.log:
(--) Setting autorepeat to delay=500, rate=31
winKeybdProc - Error initializing keyboard AutoRepeat (No XKB)
- with -kb and XF86Config: autorepeat is ok
/tmp/XWin.log:
(--) Setting autorepeat to delay=500, rate=31
(**) Option "AutoRepeat" "500 30"
(**) AutoRepeat: 500 30
winKeybdProc - Error initializing keyboard AutoRepeat (No XKB)
- with +kb and no XF86Config: autorepeat is ok
/tmp/XWin.log:
(--) Setting autorepeat to delay=500, rate=31
- with +kb and XF86Config
(--) Setting autorepeat to delay=500, rate=31
(**) Option "AutoRepeat" "500 30"
(**) AutoRepeat: 500 30
I think Takuma is right.
By the way, most of the messages are duplicate in XWin.log: it seems
like X is starting 2 times. Is this by design ?
I've attached XWin.log for the first case tested.