Enabled horizontal mouse wheel in SDL, updated XServer to support X86 and MIPS

This commit is contained in:
Sergii Pylypenko
2014-01-30 13:28:00 +02:00
parent dcfc39f57a
commit 6be28fdf53
10 changed files with 76 additions and 82 deletions

View File

@@ -120,7 +120,7 @@ int main( int argc, char* argv[] )
argv++;
}
XSDL_generateBackground(port, printHelp);
XSDL_generateBackground(port, printHelp, resolutionW, resolutionH);
XSDL_deinitSDL();
@@ -128,7 +128,7 @@ int main( int argc, char* argv[] )
if( printHelp )
{
sprintf( clientcmd, "%s/usr/bin/xhost + ; %s/usr/bin/xli -onroot -fillscreen background.bmp",
sprintf( clientcmd, "%s/usr/bin/xhost + ; %s/usr/bin/xli -onroot -center background.bmp",
getenv("SECURE_STORAGE_DIR"), getenv("SECURE_STORAGE_DIR") );
args[argnum] = "-exec";
args[argnum+1] = clientcmd;