Okay. So call me stupid but I think I get it.
SDL needs to be serviced by the matchbox events. Thus SDL is in fact the application that needs the code that supports matchbox in evilvte shuffling over to SDL.
Will think on that now. Noted likely locations for that code in
/~/GIT/k5ctng/output/build/sdl-1.2.15/src/video/x11/SDL_x11video.c
Quote:
/* Set the input hints so we get keyboard input */
if(!hints) {
hints = XAllocWMHints();
hints->input = True;
hints->flags = InputHint;
}
XSetWMHints(SDL_Display, WMwindow, hints);
XFree(hints);
|
and
Quote:
/* Update the internal keyboard state */
X11_SetKeyboardState(SDL_Display, NULL);
/* When the window is first mapped, ignore non-modifier keys */
if ( !current->w && !current->h ) {
Uint8 *keys = SDL_GetKeyState(NULL);
int i;
for ( i = 0; i < SDLK_LAST; ++i ) {
switch (i) {
case SDLK_NUMLOCK:
case SDLK_CAPSLOCK:
case SDLK_LCTRL:
case SDLK_RCTRL:
case SDLK_LSHIFT:
case SDLK_RSHIFT:
case SDLK_LALT:
case SDLK_RALT:
case SDLK_LMETA:
case SDLK_RMETA:
case SDLK_MODE:
break;
default:
keys[i] = SDL_RELEASED;
break;
}
}
}
|
will explore more tomorrow. Thanks for listening. feel free to help out with suggestions
thanks