diff --git a/project/java/MainActivity.java b/project/java/MainActivity.java index ab0566656..c9c14b7e0 100644 --- a/project/java/MainActivity.java +++ b/project/java/MainActivity.java @@ -1063,6 +1063,7 @@ public class MainActivity extends Activity //String chmod[] = { "/system/bin/chmod", "0755", path }; //Runtime.getRuntime().exec(chmod).waitFor(); } + break; } catch ( Exception eee ) { diff --git a/project/jni/application/xserver/AndroidBuild.sh b/project/jni/application/xserver/AndroidBuild.sh index 34f03a5c7..8d49520a9 100755 --- a/project/jni/application/xserver/AndroidBuild.sh +++ b/project/jni/application/xserver/AndroidBuild.sh @@ -68,6 +68,8 @@ rm -rf $CURDIR/tmp-$1 mkdir -p $CURDIR/tmp-$1 cd $CURDIR/tmp-$1 cp $CURDIR/xserver/data/busybox-$1 ./busybox +cp $CURDIR/ssh ./ +cp $CURDIR/sshpass ./ mkdir -p usr/bin for f in xhost xkbcomp xli ; do cp $CURDIR/xserver/android/$1/$f ./usr/bin/ ; done rm -f ../AndroidData/binaries-$1.zip diff --git a/project/jni/application/xserver/gfx.c b/project/jni/application/xserver/gfx.c index 621da44dc..f188b5dc8 100644 --- a/project/jni/application/xserver/gfx.c +++ b/project/jni/application/xserver/gfx.c @@ -175,7 +175,7 @@ void XSDL_showConfigMenu(int * resolutionW, int * displayW, int * resolutionH, i const char * resStr[] = { native, native78, native68, native58, - native48, "1280x1024", "1280x960", + native48, "1280x1024", "1280x960", "1280x720", "1024x768", "800x600", "800x480", "640x480" }; const int resVal[][2] = { @@ -184,7 +184,7 @@ void XSDL_showConfigMenu(int * resolutionW, int * displayW, int * resolutionH, i {*resolutionW * 6 / 8, *resolutionH * 6 / 8}, {*resolutionW * 5 / 8, *resolutionH * 5 / 8}, {*resolutionW * 4 / 8, *resolutionH * 4 / 8}, - {1280,1024}, {1280,960}, + {1280,1024}, {1280,960}, {1280,720}, {1024,768}, {800,600}, {800,480}, {640,480} }; diff --git a/project/jni/application/xserver/xserver b/project/jni/application/xserver/xserver index 7be4caffc..005d8db89 160000 --- a/project/jni/application/xserver/xserver +++ b/project/jni/application/xserver/xserver @@ -1 +1 @@ -Subproject commit 7be4caffcee7483ce90629e61371245cda9bc321 +Subproject commit 005d8db89afb3c3a40adb7bedcc5b11f3d77a909 diff --git a/todo.txt b/todo.txt index a9537ca59..60f321ee0 100644 --- a/todo.txt +++ b/todo.txt @@ -36,6 +36,8 @@ TODO, which will get actually done - XSDL: 1280x800 video mode, and 1/2, 3/4, 5/8 and 7/8 native resolution video modes. +- SDL: Send right mouse click when releasing two fingers, add mouse wheel event when dragging two fingers. + - GIMP: Ctrl/Alt/Shift toggles in the taskbar. - GIMP: File open dialog shows error message when loading preview for JPG file.