Xserver-gimp: fixed immersive mode
This commit is contained in:
@@ -526,6 +526,9 @@ class DemoRenderer extends GLSurfaceView_SDL.Renderer
|
|||||||
MainActivity.LoadApplicationLibrary(context);
|
MainActivity.LoadApplicationLibrary(context);
|
||||||
|
|
||||||
Settings.Apply(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);
|
accelerometer = new AccelerometerReader(context);
|
||||||
// Tweak video thread priority, if user selected big audio buffer
|
// Tweak video thread priority, if user selected big audio buffer
|
||||||
if(Globals.AudioBufferConfig >= 2)
|
if(Globals.AudioBufferConfig >= 2)
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ AppNeedsTwoButtonMouse=y
|
|||||||
ShowMouseCursor=n
|
ShowMouseCursor=n
|
||||||
|
|
||||||
# Users are complaining that the video output is slow, so screw pen precision
|
# 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)
|
# Force relative (laptop) mouse movement mode, useful when both on-screen keyboard and mouse are needed (y) or (n)
|
||||||
ForceRelativeMouseMode=n
|
ForceRelativeMouseMode=n
|
||||||
@@ -175,10 +175,10 @@ MultiABI=armeabi-v7a
|
|||||||
AppMinimumRAM=0
|
AppMinimumRAM=0
|
||||||
|
|
||||||
# Application version code (integer)
|
# Application version code (integer)
|
||||||
AppVersionCode=28204
|
AppVersionCode=28205
|
||||||
|
|
||||||
# Application user-visible version name (string)
|
# 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)
|
# Reset SDL config when updating application to the new version (y) / (n)
|
||||||
ResetSdlConfigForThisVersion=y
|
ResetSdlConfigForThisVersion=y
|
||||||
|
|||||||
Reference in New Issue
Block a user