diff --git a/project/java/Video.java b/project/java/Video.java index d0c6039c9..904b77536 100644 --- a/project/java/Video.java +++ b/project/java/Video.java @@ -526,6 +526,9 @@ class DemoRenderer extends GLSurfaceView_SDL.Renderer MainActivity.LoadApplicationLibrary(context); Settings.Apply(context); + Settings.nativeSetEnv( "DISPLAY_RESOLUTION_WIDTH", String.valueOf(Math.max(mWidth, mHeight)) ); + Settings.nativeSetEnv( "DISPLAY_RESOLUTION_HEIGHT", String.valueOf(Math.min(mWidth, mHeight)) ); // In Kitkat with immersive mode, getWindowManager().getDefaultDisplay().getMetrics() return inaccurate height + accelerometer = new AccelerometerReader(context); // Tweak video thread priority, if user selected big audio buffer if(Globals.AudioBufferConfig >= 2) diff --git a/project/jni/application/xserver-gimp/AndroidAppSettings.cfg b/project/jni/application/xserver-gimp/AndroidAppSettings.cfg index de5be216c..815fb7e42 100644 --- a/project/jni/application/xserver-gimp/AndroidAppSettings.cfg +++ b/project/jni/application/xserver-gimp/AndroidAppSettings.cfg @@ -87,7 +87,7 @@ AppNeedsTwoButtonMouse=y ShowMouseCursor=n # Users are complaining that the video output is slow, so screw pen precision -GenerateSubframeTouchEvents=n +GenerateSubframeTouchEvents=y # Force relative (laptop) mouse movement mode, useful when both on-screen keyboard and mouse are needed (y) or (n) ForceRelativeMouseMode=n @@ -175,10 +175,10 @@ MultiABI=armeabi-v7a AppMinimumRAM=0 # Application version code (integer) -AppVersionCode=28204 +AppVersionCode=28205 # Application user-visible version name (string) -AppVersionName="2.8.2.04" +AppVersionName="2.8.2.05" # Reset SDL config when updating application to the new version (y) / (n) ResetSdlConfigForThisVersion=y